DataCollectionLogger.LogWarning(DataCollectionContext, String) 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.
Logs a warning message.
public:
abstract void LogWarning(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, System::String ^ text);
public abstract void LogWarning (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, string text);
abstract member LogWarning : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * string -> unit
Public MustOverride Sub LogWarning (context As DataCollectionContext, text As String)
Parameters
- context
- DataCollectionContext
The DataCollectionContext in which the message is sent.
- text
- String
The warning text. Cannot be null.