ServerManagerException.ToString Method

Definition

Creates and returns a string representation of the current exception.

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

Returns

A string representation of the current exception.

Remarks

The ToString method returns a representation of the current exception that should be human readable and that contains culture-sensitive information.

ToString obtains the name of the class that threw the current exception, the message, the result of calling ToString on the inner exception, and the result of calling the <xref:SystemEnvironment.StackTrace%2A?displayProperty=fullName> property. If any one of these members is null, its value is not included in the returned string.

Applies to