Share via


DataCollectorNotifications.RaiseCustomEvent Method (CustomNotificationEventArgs)

Raises a custom event by using the provided event arguments.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

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

Parameters

Remarks

This RaiseCustomEvent method does not return until all diagnostic data adapters have either handled or ignored the event.

.NET Framework Security

See Also

Reference

DataCollectorNotifications Class

RaiseCustomEvent Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

CustomNotificationEventArgs