Partager via


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