Share via


DataCollectorNotifications.RaiseCustomEventAsync Method

Definition

Overloads

RaiseCustomEventAsync(CustomNotificationEventArgs)

Asynchronously raises a custom event by using the provided event arguments.

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel)

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

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

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

RaiseCustomEventAsync(CustomNotificationEventArgs)

Asynchronously raises a custom event by using the provided event arguments.

public:
 void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs);
public void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs);
member this.RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs -> unit
Public Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs)

Parameters

eventArgs
CustomNotificationEventArgs

A custom class that is derived from CustomNotificationEventArgs.

Applies to

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel)

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

public:
 void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs, Microsoft::VisualStudio::TestTools::Execution::NotificationBroadcastLevel broadcastLevel);
public void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs, Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel broadcastLevel);
member this.RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs * Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel -> unit
Public Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs, broadcastLevel As NotificationBroadcastLevel)

Parameters

eventArgs
CustomNotificationEventArgs

A custom class that is derived from CustomNotificationEventArgs.

broadcastLevel
NotificationBroadcastLevel

A member of the NotificationBroadcastLevel enumeration.

Applies to

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

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

public:
 abstract void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs, Microsoft::VisualStudio::TestTools::Execution::NotificationBroadcastLevel broadcastLevel, System::Object ^ userToken);
public abstract void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs, Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel broadcastLevel, object userToken);
abstract member RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs * Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel * obj -> unit
Public MustOverride Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs, broadcastLevel As NotificationBroadcastLevel, userToken As Object)

Parameters

eventArgs
CustomNotificationEventArgs

A custom class that is derived from CustomNotificationEventArgs.

broadcastLevel
NotificationBroadcastLevel

A member of the NotificationBroadcastLevel enumeration.

userToken
Object

A token that can be returned in the CustomEventCompleted event to identify this custom notification.

Applies to