DataCollectorNotifications.RaiseCustomEventAsync Yöntem (CustomNotificationEventArgs, NotificationBroadcastLevel)
Zaman uyumsuz olarak sağlanan bir olay bağımsız ve yayın düzeyi göstergesi kullanarak özel bir 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 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
)
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.
.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