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