SocketTools .NET Edition

NntpClientException.ToString Method 

Creates and returns a string representation of the current exception.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

Return Value

A string representation of the current exception.

Remarks

The ToString method returns a representation of the current exception that is intended to be understood by humans. Where the exception contains culture-sensitive data, the string representation returned by ToString is required to take into account the current system culture. Although there are no exact requirements for the format of the returned string, it should attempt to reflect the value of the object as perceived by the user.

This implementation of ToString obtains the numeric error code value and a description of the error that caused the current exception. If there is no error message or it is an empty string, then no error message is returned.

This method overrides ApplicationException.ToString.

See Also

NntpClientException Class | SocketTools Namespace