Edit

Share via


COMException.ToString Method

Definition

Converts the contents of the exception to a string.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string containing the HResult, Message, InnerException, and StackTrace properties of the exception.

Applies to

See also