SocketTools .NET Edition

IcmpClientException Constructor (Int32)

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal code As Integer _
)
[C#]
public IcmpClientException(
   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 IcmpClient.ErrorCode enumeration.

See Also