DataCollectorNotifications.RaiseCustomEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RaiseCustomEvent(CustomNotificationEventArgs) |
Raises a custom event by using the provided event arguments. |
RaiseCustomEvent(CustomNotificationEventArgs, NotificationBroadcastLevel) |
Raises a custom event by using the provided event arguments and indication of broadcast level. |
RaiseCustomEvent(CustomNotificationEventArgs)
Raises a custom event by using the provided event arguments.
public:
void RaiseCustomEvent(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs);
public void RaiseCustomEvent (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs);
member this.RaiseCustomEvent : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs -> unit
Public Sub RaiseCustomEvent (eventArgs As CustomNotificationEventArgs)
Parameters
- eventArgs
- CustomNotificationEventArgs
A custom class that is derived from CustomNotificationEventArgs.
Applies to
RaiseCustomEvent(CustomNotificationEventArgs, NotificationBroadcastLevel)
Raises a custom event by using the provided event arguments and indication of broadcast level.
public:
abstract void RaiseCustomEvent(Microsoft::VisualStudio::TestTools::Execution::CustomNotificationEventArgs ^ eventArgs, Microsoft::VisualStudio::TestTools::Execution::NotificationBroadcastLevel broadcastLevel);
public abstract void RaiseCustomEvent (Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs eventArgs, Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel broadcastLevel);
abstract member RaiseCustomEvent : Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs * Microsoft.VisualStudio.TestTools.Execution.NotificationBroadcastLevel -> unit
Public MustOverride Sub RaiseCustomEvent (eventArgs As CustomNotificationEventArgs, broadcastLevel As NotificationBroadcastLevel)
Parameters
- eventArgs
- CustomNotificationEventArgs
A custom class that is derived from CustomNotificationEventArgs.
- broadcastLevel
- NotificationBroadcastLevel
A member of the NotificationBroadcastLevel enumeration.