Délégué WriteNotifyEventHandler
Represents the WriteNotifyEventHandler handler.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public Delegate Sub WriteNotifyEventHandler ( _
sender As Object, _
args As TraceEventArgs _
)
'Utilisation
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 prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.
Paramètres
- 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.