ConnectionDialogException Constructors

Definition

Initializes a new instance of the ConnectionDialogException class.

Overloads

ConnectionDialogException()

Initializes a new instance of the ConnectionDialogException class that includes a system-supplied message that describes the error.

ConnectionDialogException(String)

Initializes a new instance of the ConnectionDialogException class that specifies a message to describe the error.

ConnectionDialogException(String, Exception)

Initializes a new instance of the ConnectionDialogException class with a specified error message and a reference to the inner exception that is the cause of this exception.

ConnectionDialogException()

Initializes a new instance of the ConnectionDialogException class that includes a system-supplied message that describes the error.

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

Applies to

ConnectionDialogException(String)

Initializes a new instance of the ConnectionDialogException class that specifies a message to describe the error.

public:
 ConnectionDialogException(System::String ^ message);
public ConnectionDialogException (string message);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialogException : string -> Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialogException
Public Sub New (message As String)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

ConnectionDialogException(String, Exception)

Initializes a new instance of the ConnectionDialogException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 ConnectionDialogException(System::String ^ message, Exception ^ previous);
public ConnectionDialogException (string message, Exception previous);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialogException : string * Exception -> Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialogException
Public Sub New (message As String, previous As Exception)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

previous
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to