DataCollectorNotifications.RaiseCustomEventAsync Yöntem (CustomNotificationEventArgs, NotificationBroadcastLevel, Object)
Zaman uyumsuz olarak yayın düzeyi ve kullanıcı belirteci dair sağlanan olay bağımsız değişkenleri kullanarak bir özel olay yükseltir.
Ad alanı: Microsoft.VisualStudio.TestTools.Execution
Derleme: Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll içinde)
Sözdizimi
'Bildirim
Public MustOverride Sub RaiseCustomEventAsync ( _
eventArgs As CustomNotificationEventArgs, _
broadcastLevel As NotificationBroadcastLevel, _
userToken As Object _
)
public abstract void RaiseCustomEventAsync(
CustomNotificationEventArgs eventArgs,
NotificationBroadcastLevel broadcastLevel,
Object userToken
)
public:
virtual void RaiseCustomEventAsync(
CustomNotificationEventArgs^ eventArgs,
NotificationBroadcastLevel broadcastLevel,
Object^ userToken
) abstract
abstract RaiseCustomEventAsync :
eventArgs:CustomNotificationEventArgs *
broadcastLevel:NotificationBroadcastLevel *
userToken:Object -> unit
public abstract function RaiseCustomEventAsync(
eventArgs : CustomNotificationEventArgs,
broadcastLevel : NotificationBroadcastLevel,
userToken : Object
)
Parametreler
- eventArgs
Tür: Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs
Özel bir sınıf türetilir CustomNotificationEventArgs.
- broadcastLevel
Tür: Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel
Üye NotificationBroadcastLevel numaralandırma.
- userToken
Tür: System.Object
İçinde verilen bir belirteç CustomEventCompleted bu özel bildirimi tanımlayacak olay.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.
Ayrıca bkz.
Başvuru
DataCollectorNotifications Sınıf
RaiseCustomEventAsync Fazla Yük