Partilhar via


Método DataCollectorNotifications.RaiseCustomEventAsync (CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

Assincronamente dispara um evento personalizado usando os argumentos de evento fornecido, a indicação do nível de difusão e o token de usuário.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (em Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxe

'Declaração
Public MustOverride Sub RaiseCustomEventAsync ( _
    eventArgs As CustomNotificationEventArgs, _
    broadcastLevel As NotificationBroadcastLevel, _
    userToken As Object _
)
public abstract void RaiseCustomEventAsync(
    CustomNotificationEventArgs eventArgs,
    NotificationBroadcastLevel broadcastLevel,
    Object userToken
)
public:
virtual void RaiseCustomEventAsync(
    CustomNotificationEventArgs^ eventArgs, 
    NotificationBroadcastLevel broadcastLevel, 
    Object^ userToken
) abstract
abstract RaiseCustomEventAsync : 
        eventArgs:CustomNotificationEventArgs * 
        broadcastLevel:NotificationBroadcastLevel * 
        userToken:Object -> unit 
public abstract function RaiseCustomEventAsync(
    eventArgs : CustomNotificationEventArgs, 
    broadcastLevel : NotificationBroadcastLevel, 
    userToken : Object
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DataCollectorNotifications Classe

Sobrecargas RaiseCustomEventAsync

Namespace Microsoft.VisualStudio.TestTools.Execution

CustomNotificationEventArgs

NotificationBroadcastLevel

CustomEventCompleted