Click or drag to resize

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)
Syntax
public ServiceException(
	string message,
	string userMessage,
	int errorCode,
	Exception innerException
)

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