SocketTools .NET Edition

NntpClientException.ErrorCode Property

Gets a value which specifies the error that caused the exception.

[Visual Basic]
Public ReadOnly Property ErrorCode As ErrorCode
[C#]
public NntpClient.ErrorCode ErrorCode {get;}

Property Value

Returns a NntpClient.ErrorCode enumeration value which specifies the error code.

Remarks

The ErrorCode property returns the error code that specifies the cause of the exception.

The default constructor for the NntpClientException class sets the error code to the last network error that occurred. For more information about the errors that may occur, refer to the NntpClient.ErrorCode enumeration.

See Also

NntpClientException Class | SocketTools Namespace