ServiceValidationException Constructors

Definition

Overloads

ServiceValidationException()

Initializes a new instance of the ServiceValidationException class.

ServiceValidationException(String)

Initializes a new instance of the ServiceValidationException class with the error message text.

ServiceValidationException(String, Exception)

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

ServiceValidationException()

Initializes a new instance of the ServiceValidationException class.

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

Applies to

ServiceValidationException(String)

Initializes a new instance of the ServiceValidationException class with the error message text.

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

Parameters

message
String

The error message text.

Applies to

ServiceValidationException(String, Exception)

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

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