次の方法で共有


DataCollectorNotifications.RaiseCustomEventAsync メソッド (CustomNotificationEventArgs, NotificationBroadcastLevel)

指定されたイベント引数およびブロードキャスト レベルを使用して、カスタム イベントを非同期的に発生させます。

名前空間:  Microsoft.VisualStudio.TestTools.Execution
アセンブリ:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 内)

構文

'宣言
Public Sub RaiseCustomEventAsync ( _
    eventArgs As CustomNotificationEventArgs, _
    broadcastLevel As NotificationBroadcastLevel _
)
public void RaiseCustomEventAsync(
    CustomNotificationEventArgs eventArgs,
    NotificationBroadcastLevel broadcastLevel
)
public:
void RaiseCustomEventAsync(
    CustomNotificationEventArgs^ eventArgs, 
    NotificationBroadcastLevel broadcastLevel
)
member RaiseCustomEventAsync : 
        eventArgs:CustomNotificationEventArgs * 
        broadcastLevel:NotificationBroadcastLevel -> unit 
public function RaiseCustomEventAsync(
    eventArgs : CustomNotificationEventArgs, 
    broadcastLevel : NotificationBroadcastLevel
)

パラメーター

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DataCollectorNotifications クラス

RaiseCustomEventAsync オーバーロード

Microsoft.VisualStudio.TestTools.Execution 名前空間

CustomNotificationEventArgs

NotificationBroadcastLevel