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