Edit

Share via


RegistrationException Constructors

Definition

Initializes a new instance of the RegistrationException class.

Overloads

RegistrationException()

Initializes a new instance of the RegistrationException class.

RegistrationException(String)

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

RegistrationException(String, Exception)

Initializes a new instance of the RegistrationException class with a specified error message and nested exception.

RegistrationException()

Initializes a new instance of the RegistrationException class.

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

Applies to

RegistrationException(String)

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

public:
 RegistrationException(System::String ^ msg);
public RegistrationException (string msg);
new System.EnterpriseServices.RegistrationException : string -> System.EnterpriseServices.RegistrationException
Public Sub New (msg As String)

Parameters

msg
String

The message displayed to the client when the exception is thrown.

Applies to

RegistrationException(String, Exception)

Initializes a new instance of the RegistrationException class with a specified error message and nested exception.

public:
 RegistrationException(System::String ^ msg, Exception ^ inner);
public RegistrationException (string msg, Exception inner);
new System.EnterpriseServices.RegistrationException : string * Exception -> System.EnterpriseServices.RegistrationException
Public Sub New (msg As String, inner As Exception)

Parameters

msg
String

The message displayed to the client when the exception is thrown.

inner
Exception

The nested exception.

Applies to