Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectionLogger::LogError Method (DataCollectionContext^, String^)

 

Logs an error message.

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

public:
virtual void LogError(
	DataCollectionContext^ context,
	String^ text
) abstract

Parameters

context
Type: Microsoft.VisualStudio.TestTools.Execution::DataCollectionContext^

The DataCollectionContext in which the message is sent.

text
Type: System::String^

The error text. Cannot be null.

Return to top
Show: