DataCollectorNotifications Class

Definition

Used by custom test adapters to raise events for diagnostic data adapters.

public ref class DataCollectorNotifications abstract
public abstract class DataCollectorNotifications
type DataCollectorNotifications = class
Public MustInherit Class DataCollectorNotifications
Inheritance
DataCollectorNotifications

Constructors

DataCollectorNotifications()

Initializes a new instance of the DataCollectorNotifications class.

Methods

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.

RaiseCustomEventAsync(CustomNotificationEventArgs)

Asynchronously raises a custom event by using the provided event arguments.

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel)

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

RaiseCustomEventAsync(CustomNotificationEventArgs, NotificationBroadcastLevel, Object)

Asynchronously raises a custom event by using the provided event arguments, indication of broadcast level, and user token.

RaiseTestFailedEvent(ITestElement, TestCaseFailureType)

Raises a TestCaseFailed event to notify diagnostic data adapters that the test case has failed.

Events

CustomEventCompleted

Raised by the testing framework when a diagnostic data adapter has finished handling an asynchronous event.

Applies to