WriteNotifyEventHandler Delegate
Represents the WriteNotifyEventHandler handler.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntax
'Declaration
Public Delegate Sub WriteNotifyEventHandler ( _
sender As Object, _
args As TraceEventArgs _
)
'Usage
Dim instance As New WriteNotifyEventHandler(AddressOf HandlerMethod)
public delegate void WriteNotifyEventHandler(
Object sender,
TraceEventArgs args
)
public delegate void WriteNotifyEventHandler(
Object^ sender,
TraceEventArgs^ args
)
type WriteNotifyEventHandler =
delegate of
sender:Object *
args:TraceEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
Type: System.Object
An Object value that specifies the source of the event.
- args
Type: Microsoft.SqlServer.Management.Trace.TraceEventArgs
A TraceEventArgs object that contains the event data.