Export (0) Print
Expand All

DataCollectionEvents Class

Defines the execution events that diagnostic data adapters can register.

System.Object
  Microsoft.VisualStudio.TestTools.Execution.DataCollectionEvents

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

'Declaration
Public MustInherit Class DataCollectionEvents

The DataCollectionEvents type exposes the following members.

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventCustomNotificationOccurs in response to a custom notification.
Public eventDataRequestRaised to request intermediate data.
Public eventSessionEndRaised when a test session ends.
Public eventSessionPauseRaised when a test session pauses.
Public eventSessionResumeRaised when a test session resumes.
Public eventSessionStartRaised when a test session starts.
Public eventTestCaseEndRaised when a test case ends.
Public eventTestCaseFailed
Public eventTestCasePauseRaised when a test case pauses.
Public eventTestCaseResetRaised when a test case resets.
Public eventTestCaseResumeRaised when a test case resumes.
Public eventTestCaseStartRaised when a test case starts.
Public eventTestStepEndRaised when a test step ends.
Public eventTestStepStartRaised when a test step starts.
Top

When you create a custom diagnostic data adapter, you must create event handlers for one or more events in this collection. For more information, see How to: Create a Diagnostic Data Adapter.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft