ReplayEventHandler Delegate
Represents the ReplayEventHandler event handler.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntax
'Declaration
Public Delegate Sub ReplayEventHandler ( _
sender As Object, _
args As ReplayEventArgs _
)
'Usage
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 supports the use of delegates, but not the declaration of new ones.
Parameters
- 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.