Поделиться через


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