Share via


ConnectionErrorEventArgs Class

Occurs when an error occurred during connection.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionErrorEventArgs

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

'Declaration
Public Class ConnectionErrorEventArgs _
    Inherits EventArgs
'Usage
Dim instance As ConnectionErrorEventArgs
public class ConnectionErrorEventArgs : EventArgs
public ref class ConnectionErrorEventArgs : public EventArgs
type ConnectionErrorEventArgs =  
    class
        inherit EventArgs
    end
public class ConnectionErrorEventArgs extends EventArgs

The ConnectionErrorEventArgs type exposes the following members.

Constructors

  Name Description
Public method ConnectionErrorEventArgs Initializes a new instance of the ConnectionErrorEventArgs class with the specified exception parameter.

Top

Properties

  Name Description
Public property Exception The exception that is thrown when an error occurred during .executing ConnectionErrorEventArgs.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.