共用方式為


TraceStoppedEventHandler 委派

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

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