DataCollectorNotifications.RaiseCustomEvent (Método) (CustomNotificationEventArgs)

Genera un evento personalizado utilizando los argumentos de evento proporcionados.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Execution
Ensamblado:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (en Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxis

'Declaración
Public Sub RaiseCustomEvent ( _
    eventArgs As CustomNotificationEventArgs _
)
public void RaiseCustomEvent(
    CustomNotificationEventArgs eventArgs
)
public:
void RaiseCustomEvent(
    CustomNotificationEventArgs^ eventArgs
)
member RaiseCustomEvent : 
        eventArgs:CustomNotificationEventArgs -> unit 
public function RaiseCustomEvent(
    eventArgs : CustomNotificationEventArgs
)

Parámetros

Comentarios

Este método RaiseCustomEvent no devuelve hasta que todos los adaptadores de datos de diagnóstico se hayan controlado u omitido el evento.

Seguridad de .NET Framework

Vea también

Referencia

DataCollectorNotifications Clase

RaiseCustomEvent (Sobrecarga)

Microsoft.VisualStudio.TestTools.Execution (Espacio de nombres)

CustomNotificationEventArgs