Edit

Share via


ServiceRequestException Constructors

Definition

Overloads

ServiceRequestException()

Initializes a new instance of the ServiceRequestException class.

ServiceRequestException(String)

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

ServiceRequestException(String, Exception)

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

ServiceRequestException()

Initializes a new instance of the ServiceRequestException class.

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

Applies to

ServiceRequestException(String)

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

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

Parameters

message
String

The error message text.

Applies to

ServiceRequestException(String, Exception)

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

public:
 ServiceRequestException(System::String ^ message, Exception ^ innerException);
public ServiceRequestException (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