Délégué ReplayResultEventHandler
Represents the ReplayResultEventHandler event handler.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public Delegate Sub ReplayResultEventHandler ( _
sender As Object, _
args As TraceEventArgs _
)
'Utilisation
Dim instance As New ReplayResultEventHandler(AddressOf HandlerMethod)
public delegate void ReplayResultEventHandler(
Object sender,
TraceEventArgs args
)
public delegate void ReplayResultEventHandler(
Object^ sender,
TraceEventArgs^ args
)
type ReplayResultEventHandler =
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.