DataCollectorNotifications.RaiseCustomEventAsync 方法 (CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

使用提供的事件参数、广播级别的指示和用户标记异步引发自定义事件。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
Public MustOverride Sub RaiseCustomEventAsync ( _
    eventArgs As CustomNotificationEventArgs, _
    broadcastLevel As NotificationBroadcastLevel, _
    userToken As Object _
)
public abstract void RaiseCustomEventAsync(
    CustomNotificationEventArgs eventArgs,
    NotificationBroadcastLevel broadcastLevel,
    Object userToken
)
public:
virtual void RaiseCustomEventAsync(
    CustomNotificationEventArgs^ eventArgs, 
    NotificationBroadcastLevel broadcastLevel, 
    Object^ userToken
) abstract
abstract RaiseCustomEventAsync : 
        eventArgs:CustomNotificationEventArgs * 
        broadcastLevel:NotificationBroadcastLevel * 
        userToken:Object -> unit 
public abstract function RaiseCustomEventAsync(
    eventArgs : CustomNotificationEventArgs, 
    broadcastLevel : NotificationBroadcastLevel, 
    userToken : Object
)

参数

.NET Framework 安全性

请参见

参考

DataCollectorNotifications 类

RaiseCustomEventAsync 重载

Microsoft.VisualStudio.TestTools.Execution 命名空间

CustomNotificationEventArgs

NotificationBroadcastLevel

CustomEventCompleted