Delegado ReplayEventHandler
Represents the ReplayEventHandler event handler.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)
Sintaxe
'Declaração
Public Delegate Sub ReplayEventHandler ( _
sender As Object, _
args As ReplayEventArgs _
)
'Uso
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 dá suporte ao uso de representantes, mas não à declaração de representantes novos.
Parâmetros
- sender
Tipo: System. . :: . .Object
An Object value that specifies the source of the event.
- args
Tipo: Microsoft.SqlServer.Management.Trace. . :: . .ReplayEventArgs
A ReplayEventArgs object that contains the event data.