 | ServiceException Constructor (String, String, Exception) |
Constructs a new ServiceException with an error message, a
user message 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,
Exception innerException
)
Public Sub New (
message As String,
userMessage As String,
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).
- innerException
- Type: SystemException
The exception that is the cause of this exception (can be null).
Remarks
The error code is initialized to zero (0).
See Also