DataCollectorNotifications.RaiseCustomEventAsync-Methode (CustomNotificationEventArgs, NotificationBroadcastLevel)
Löst asynchron ein benutzerdefiniertes Ereignis mit den bereitgestellten Ereignisargumenten und der Angabe der Übertragungsebene aus.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
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
)
Parameter
eventArgs
Typ: Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgsEine benutzerdefinierte Klasse, die von CustomNotificationEventArgs abgeleitet ist.
broadcastLevel
Typ: Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevelEin Member aus der NotificationBroadcastLevel-Enumeration.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
DataCollectorNotifications Klasse
RaiseCustomEventAsync-Überladung