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