Condividi tramite


Metodo DataCollectorNotifications.RaiseCustomEvent (CustomNotificationEventArgs)

Genera un evento personalizzato tramite gli argomenti di evento specificati.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Note

Questo metodo RaiseCustomEvent non restituisce alcun valore finché tutti gli adattatori dati di diagnostica hanno gestito o ignorato l'evento.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataCollectorNotifications Classe

Overload RaiseCustomEvent

Spazio dei nomi Microsoft.VisualStudio.TestTools.Execution

CustomNotificationEventArgs