DataCollectorNotifications.RaiseCustomEventAsync Method (CustomNotificationEventArgs)
Asynchronously raises a custom event by using the provided event arguments.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub RaiseCustomEventAsync ( _
eventArgs As CustomNotificationEventArgs _
)
public void RaiseCustomEventAsync(
CustomNotificationEventArgs eventArgs
)
public:
void RaiseCustomEventAsync(
CustomNotificationEventArgs^ eventArgs
)
member RaiseCustomEventAsync :
eventArgs:CustomNotificationEventArgs -> unit
public function RaiseCustomEventAsync(
eventArgs : CustomNotificationEventArgs
)
Parameters
eventArgs
Type: Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgsA custom class that is derived from CustomNotificationEventArgs.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataCollectorNotifications Class
RaiseCustomEventAsync Overload