ConnectionErrorEventHandler Delegate
Represents the method that will handle the error event of a ConnectionDlg.
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
'Declaration
Public Delegate Sub ConnectionErrorEventHandler ( _
sender As Object, _
args As ConnectionErrorEventArgs _
)
'Usage
Dim instance As New ConnectionErrorEventHandler(AddressOf HandlerMethod)
public delegate void ConnectionErrorEventHandler(
Object sender,
ConnectionErrorEventArgs args
)
public delegate void ConnectionErrorEventHandler(
Object^ sender,
ConnectionErrorEventArgs^ args
)
type ConnectionErrorEventHandler =
delegate of
sender:Object *
args:ConnectionErrorEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
Type: System.Object
A Object representing the source of the event.
- args
Type: Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionErrorEventArgs
A ConnectorErrorEventArgs that contains the event data.