次の方法で共有


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