共用方式為


DataCollectorNotifications.RaiseCustomEventAsync 方法

包含受保護的成員
包含繼承的成員

使用提供的事件引數及選擇性廣播層級指示,非同步引發自訂事件。

這個成員是多載的。如需這個成員的完整資訊 (包括語法、用法和範例),請按一下多載清單中的名稱。

多載清單

  名稱 說明
公用方法 RaiseCustomEventAsync(CustomNotificationEventArgs) 使用提供的事件引數來非同步引發自訂事件。
公用方法 RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel) 使用提供的事件引數及廣播層級指示,非同步引發自訂事件。
公用方法 RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object) 使用提供的事件引數、廣播層級指示和使用者語彙基元,非同步引發自訂事件。

回頁首

請參閱

參考

DataCollectorNotifications 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間