Edit

Share via


ServiceVersionException Constructors

Definition

Overloads

ServiceVersionException()

Initializes a new instance of the ServiceVersionException class.

ServiceVersionException(String)

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

ServiceVersionException(String, Exception)

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

ServiceVersionException()

Initializes a new instance of the ServiceVersionException class.

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

Applies to

ServiceVersionException(String)

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

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

Parameters

message
String

The error message.

Applies to

ServiceVersionException(String, Exception)

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

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

Parameters

message
String

The error message.

innerException
Exception

The inner exception.

Applies to