Share via


Delegato TraceEventHandler

Spazio dei nomi:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("DE656E6E-B854-4235-804B-F8A9918B45EA")> _
Public Delegate Sub TraceEventHandler ( _
    sender As Object, _
    e As TraceEventArgs _
)
'Utilizzo
Dim instance As New TraceEventHandler(AddressOf HandlerMethod)
[GuidAttribute("DE656E6E-B854-4235-804B-F8A9918B45EA")]
public delegate void TraceEventHandler(
    Object sender,
    TraceEventArgs e
)
[GuidAttribute(L"DE656E6E-B854-4235-804B-F8A9918B45EA")]
public delegate void TraceEventHandler(
    Object^ sender, 
    TraceEventArgs^ e
)
[<GuidAttribute("DE656E6E-B854-4235-804B-F8A9918B45EA")>]
type TraceEventHandler = 
    delegate of 
        sender:Object * 
        e:TraceEventArgs -> unit
JScript supporta l'utilizzo di delegati, ma non la dichiarazione di nuovi delegati.