Edit

Share via


ServiceRemoteException Constructors

Definition

Overloads

ServiceRemoteException()

Initializes a new instance of the ServiceRemoteException class.

ServiceRemoteException(String)

Initializes a new instance of the ServiceRemoteException class with an error message.

ServiceRemoteException(String, Exception)

Initializes a new instance of the ServiceRemoteException class with an error message and an inner exception.

ServiceRemoteException()

Initializes a new instance of the ServiceRemoteException class.

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

Applies to

ServiceRemoteException(String)

Initializes a new instance of the ServiceRemoteException class with an error message.

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

Parameters

message
String

The error message text.

Applies to

ServiceRemoteException(String, Exception)

Initializes a new instance of the ServiceRemoteException class with an error message and an inner exception.

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

Parameters

message
String

The error message text.

innerException
Exception

The inner exception.

Applies to