ReplayStartHandler 委托
Represents the ReplayStartHandler event handler.
命名空间: Microsoft.SqlServer.Management.Trace
程序集: Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
语法
声明
Public Delegate Sub ReplayStartHandler ( _
sender As Object, _
args As EventArgs _
)
用法
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 支持使用委托,但不支持声明新委托。
参数
- sender
类型:System.Object
An Object value that specifies the source of the event.
- args
类型:System.EventArgs
A TraceEventArgs object that contains the event data.