 | ServiceException Constructor (String, Int32) |
Constructs a new ServiceException with an error message and
error code.
Namespace:
OBCOM.NetSwitchLib.Servers
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntaxpublic ServiceException(
string message,
int errorCode
)
Public Sub New (
message As String,
errorCode As Integer
)
Parameters
- message
- Type: SystemString
The error message of this exception (can be null).
- errorCode
- Type: SystemInt32
The error code of this exception.
Remarks
The user message is initialized to null.
See Also