Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectorNotifications::RaiseCustomEventAsync Method (CustomNotificationEventArgs^, NotificationBroadcastLevel, Object^)

 

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

Namespace:   Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

public:
virtual void RaiseCustomEventAsync(
	CustomNotificationEventArgs^ eventArgs,
	NotificationBroadcastLevel broadcastLevel,
	Object^ userToken
) abstract

Parameters

eventArgs
Type: Microsoft.VisualStudio.TestTools.Execution::CustomNotificationEventArgs^

A custom class that is derived from CustomNotificationEventArgs.

broadcastLevel
Type: Microsoft.VisualStudio.TestTools.Execution::NotificationBroadcastLevel

A member of the NotificationBroadcastLevel enumeration.

userToken
Type: System::Object^

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

Return to top
Show: