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

Genera asincrónicamente un evento personalizado utilizando los argumentos de evento, la indicación de nivel de difusión y el token de usuario proporcionados.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Execution
Ensamblado:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (en Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxis

'Declaración
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

Seguridad de .NET Framework

Vea también

Referencia

DataCollectorNotifications Clase

RaiseCustomEventAsync (Sobrecarga)

Microsoft.VisualStudio.TestTools.Execution (Espacio de nombres)

CustomNotificationEventArgs

NotificationBroadcastLevel

CustomEventCompleted