Share via


DataCollectorNotifications.RaiseCustomEventAsync Method (CustomNotificationEventArgs, NotificationBroadcastLevel)

Asynchronously raises a custom event by using the provided event arguments and indication of broadcast level.

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
)

Parameters

.NET Framework Security

See Also

Reference

DataCollectorNotifications Class

RaiseCustomEventAsync Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

CustomNotificationEventArgs

NotificationBroadcastLevel