Compartir a través de


TraceEventHandler Delegado

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("DE656E6E-B854-4235-804B-F8A9918B45EA")> _
Public Delegate Sub TraceEventHandler ( _
    sender As Object, _
    e As TraceEventArgs _
)
'Uso
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 admite el uso de delegados, pero no la declaración de otros nuevos.