ReplayResultEventHandler 委托
Represents the ReplayResultEventHandler event handler.
命名空间: Microsoft.SqlServer.Management.Trace
程序集: Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
语法
声明
Public Delegate Sub ReplayResultEventHandler ( _
sender As Object, _
args As TraceEventArgs _
)
用法
Dim instance As New ReplayResultEventHandler(AddressOf HandlerMethod)
public delegate void ReplayResultEventHandler(
Object sender,
TraceEventArgs args
)
public delegate void ReplayResultEventHandler(
Object^ sender,
TraceEventArgs^ args
)
type ReplayResultEventHandler =
delegate of
sender:Object *
args:TraceEventArgs -> unit
JScript 支持使用委托,但不支持声明新委托。
参数
- sender
类型:System.Object
An Object value that specifies the source of the event.
- args
类型:Microsoft.SqlServer.Management.Trace.TraceEventArgs
A TraceEventArgs object that contains the event data.