DataCollectorNotifications.RaiseCustomEventAsync Yöntem

Tanım

Aşırı Yüklemeler

RaiseCustomEventAsync(CustomNotificationEventArgs)

Zaman uyumsuz olarak özel bir olayı, belirtilen olay bağımsız değişkenlerini kullanarak başlatır.

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel)

Zaman uyumsuz olarak özel bir olayı, belirtilen olay bağımsız değişkenlerini ve yayın düzeyinin gösterimini kullanarak başlatır.

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

Zaman uyumsuz olarak, belirtilen olay bağımsız değişkenlerini, yayın düzeyini ve kullanıcı belirtecini kullanarak özel bir olay oluşturur.

RaiseCustomEventAsync(CustomNotificationEventArgs)

Zaman uyumsuz olarak özel bir olayı, belirtilen olay bağımsız değişkenlerini kullanarak başlatır.

public:
 void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs);
public void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs);
member this.RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs -> unit
Public Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs)

Parametreler

eventArgs
CustomNotificationEventArgs

Öğesinden türetilmiş özel bir sınıf CustomNotificationEventArgs .

Şunlara uygulanır

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel)

Zaman uyumsuz olarak özel bir olayı, belirtilen olay bağımsız değişkenlerini ve yayın düzeyinin gösterimini kullanarak başlatır.

public:
 void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs, Microsoft::VisualStudio::TestTools::Execution::NotificationBroadcastLevel broadcastLevel);
public void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs, Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel broadcastLevel);
member this.RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs * Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel -> unit
Public Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs, broadcastLevel As NotificationBroadcastLevel)

Parametreler

eventArgs
CustomNotificationEventArgs

Öğesinden türetilmiş özel bir sınıf CustomNotificationEventArgs .

broadcastLevel
NotificationBroadcastLevel

Sabit listesinin bir üyesi NotificationBroadcastLevel .

Şunlara uygulanır

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

Zaman uyumsuz olarak, belirtilen olay bağımsız değişkenlerini, yayın düzeyini ve kullanıcı belirtecini kullanarak özel bir olay oluşturur.

public:
 abstract void RaiseCustomEventAsync(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs, Microsoft::VisualStudio::TestTools::Execution::NotificationBroadcastLevel broadcastLevel, System::Object ^ userToken);
public abstract void RaiseCustomEventAsync (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs, Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel broadcastLevel, object userToken);
abstract member RaiseCustomEventAsync : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs * Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel * obj -> unit
Public MustOverride Sub RaiseCustomEventAsync (eventArgs As CustomNotificationEventArgs, broadcastLevel As NotificationBroadcastLevel, userToken As Object)

Parametreler

eventArgs
CustomNotificationEventArgs

Öğesinden türetilmiş özel bir sınıf CustomNotificationEventArgs .

broadcastLevel
NotificationBroadcastLevel

Sabit listesinin bir üyesi NotificationBroadcastLevel .

userToken
Object

CustomEventCompletedBu özel bildirimi tanımlamak için olayda döndürülebilecek bir belirteç.

Şunlara uygulanır