SocketTools .NET Edition

TextMessageException Constructor (Int32)

Initializes a new instance of the TextMessageException class with a specified error number.

[Visual Basic]
Overloads Public Sub New( _
   ByVal code As Integer _
)
[C#]
public TextMessageException(
   int code
);

Parameters

code
An integer value which specifies an error code.

Remarks

This constructor sets the ErrorCode property to the specified error code. For more information about the errors that may occur, refer to the TextMessage.ErrorCode enumeration.

See Also