NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Exception.ToString

Returns the fully qualified name of this exception and the message held by the Message property.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();
[C++]
public: override String* ToString();
[JScript]
public override function ToString() : String;

Return Value

Returns the fully qualified class name and message.

Remarks

The ToString method returns the "ClassName: message", where ClassName is the fully qualified class name and message is the exception's message string. If the message string is the empty string, then "ClassName" alone is returned.

See Also

Exception Class | Exception Members | System Namespace