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