共用方式為


ReplayStopHandler 委派

Represents the ReplayStopHandler event handler.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public Delegate Sub ReplayStopHandler ( _
    sender As Object, _
    args As EventArgs _
)
'用途
Dim instance As New ReplayStopHandler(AddressOf HandlerMethod)
public delegate void ReplayStopHandler(
    Object sender,
    EventArgs args
)
public delegate void ReplayStopHandler(
    Object^ sender, 
    EventArgs^ args
)
type ReplayStopHandler = 
    delegate of 
        sender:Object * 
        args:EventArgs -> unit
JScript 支援委託的使用,但不支援新委託的宣告。

參數