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