Share via


DataCollectorNotifications.RaiseCustomEvent Method (CustomNotificationEventArgs, NotificationBroadcastLevel)

Raises a custom event by using the provided event arguments and indication of broadcast level.

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

Syntax

'Declaration
Public MustOverride Sub RaiseCustomEvent ( _
    eventArgs As CustomNotificationEventArgs, _
    broadcastLevel As NotificationBroadcastLevel _
)
public abstract void RaiseCustomEvent(
    CustomNotificationEventArgs eventArgs,
    NotificationBroadcastLevel broadcastLevel
)
public:
virtual void RaiseCustomEvent(
    CustomNotificationEventArgs^ eventArgs, 
    NotificationBroadcastLevel broadcastLevel
) abstract
abstract RaiseCustomEvent : 
        eventArgs:CustomNotificationEventArgs * 
        broadcastLevel:NotificationBroadcastLevel -> unit
public abstract function RaiseCustomEvent(
    eventArgs : CustomNotificationEventArgs, 
    broadcastLevel : NotificationBroadcastLevel
)

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

NotificationBroadcastLevel