Partager via


DataCollectionLogger.LogWarning Method

Logs a warning message.

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

Syntax

'Declaration
Public MustOverride Sub LogWarning ( _
    context As DataCollectionContext, _
    text As String _
)
public abstract void LogWarning(
    DataCollectionContext context,
    string text
)
public:
virtual void LogWarning(
    DataCollectionContext^ context, 
    String^ text
) abstract
abstract LogWarning : 
        context:DataCollectionContext * 
        text:string -> unit
public abstract function LogWarning(
    context : DataCollectionContext, 
    text : String
)

Parameters

  • text
    Type: String

    The warning text. Cannot be nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataCollectionLogger Class

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectionContext