ReplayPauseHandler 委派
Represents the ReplayPauseHandler event handler.
命名空間: Microsoft.SqlServer.Management.Trace
組件: Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
語法
'宣告
Public Delegate Sub ReplayPauseHandler ( _
sender As Object, _
args As EventArgs _
)
'用途
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 支援委託的使用,但不支援新委託的宣告。
參數
- sender
型別:System. . :: . .Object
An Object value that specifies the source of the event.
- args
型別:System. . :: . .EventArgs
A TraceEventArgs object that contains the event data.