Partager via


DataCollectorNotifications.RaiseCustomEventAsync, méthode (CustomNotificationEventArgs, NotificationBroadcastLevel)

Déclenche, de manière asynchrone, un événement personnalisé à l'aide des arguments d'événement fournis et d'une indication du niveau de diffusion.

Espace de noms :  Microsoft.VisualStudio.TestTools.Execution
Assembly :  Microsoft.VisualStudio.QualityTools.ExecutionCommon (dans Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntaxe

'Déclaration
Public Sub RaiseCustomEventAsync ( _
    eventArgs As CustomNotificationEventArgs, _
    broadcastLevel As NotificationBroadcastLevel _
)
public void RaiseCustomEventAsync(
    CustomNotificationEventArgs eventArgs,
    NotificationBroadcastLevel broadcastLevel
)
public:
void RaiseCustomEventAsync(
    CustomNotificationEventArgs^ eventArgs, 
    NotificationBroadcastLevel broadcastLevel
)
member RaiseCustomEventAsync : 
        eventArgs:CustomNotificationEventArgs * 
        broadcastLevel:NotificationBroadcastLevel -> unit 
public function RaiseCustomEventAsync(
    eventArgs : CustomNotificationEventArgs, 
    broadcastLevel : NotificationBroadcastLevel
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

DataCollectorNotifications Classe

RaiseCustomEventAsync, surcharge

Microsoft.VisualStudio.TestTools.Execution, espace de noms

CustomNotificationEventArgs

NotificationBroadcastLevel