Initializes the instance by storing the given information.
Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Protected Sub New ( _
    context As DataCollectionContext _
)
protected DataCollectionEventArgs(
    DataCollectionContext context
)
protected:
DataCollectionEventArgs(
    DataCollectionContext^ context
)
new : 
        context:DataCollectionContext -> DataCollectionEventArgs
protected function DataCollectionEventArgs(
    context : DataCollectionContext
)
Parameters
- context 
 Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext- Context information for the event. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataCollectionEventArgs Overload