DataCollectorNotifications.RaiseCustomEventAsync 方法 (CustomNotificationEventArgs)

使用提供的事件参数异步引发自定义事件。

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

语法

声明
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
)

参数

.NET Framework 安全性

请参见

参考

DataCollectorNotifications 类

RaiseCustomEventAsync 重载

Microsoft.VisualStudio.TestTools.Execution 命名空间

CustomNotificationEventArgs