ServiceLocalException Constructors

Definition

Overloads

ServiceLocalException()

Initializes a new instance of the ServiceLocalException class.

ServiceLocalException(String)

Initializes a new instance of the ServiceLocalException class with the specified error message.

ServiceLocalException(String, Exception)

Initializes a new instance of the ServiceLocalException class with the specified message and a reference to the inner exception that is the cause of this exception.

ServiceLocalException()

Initializes a new instance of the ServiceLocalException class.

public:
 ServiceLocalException();
public ServiceLocalException ();
Public Sub New ()

Applies to

ServiceLocalException(String)

Initializes a new instance of the ServiceLocalException class with the specified error message.

public:
 ServiceLocalException(System::String ^ message);
public ServiceLocalException (string message);
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

ServiceLocalException(String, Exception)

Initializes a new instance of the ServiceLocalException class with the specified message and a reference to the inner exception that is the cause of this exception.

public:
 ServiceLocalException(System::String ^ message, Exception ^ innerException);
public ServiceLocalException (string message, Exception innerException);
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to