Partilhar via


Método DataCollectionLogger.LogException

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

Sintaxe

'Declaração
Public Overridable Sub LogException ( _
    context As DataCollectionContext, _
    ex As Exception, _
    level As DataCollectorMessageLevel _
)
public virtual void LogException(
    DataCollectionContext context,
    Exception ex,
    DataCollectorMessageLevel level
)
public:
virtual void LogException(
    DataCollectionContext^ context, 
    Exception^ ex, 
    DataCollectorMessageLevel level
)
abstract LogException : 
        context:DataCollectionContext * 
        ex:Exception * 
        level:DataCollectorMessageLevel -> unit 
override LogException : 
        context:DataCollectionContext * 
        ex:Exception * 
        level:DataCollectorMessageLevel -> unit 
public function LogException(
    context : DataCollectionContext, 
    ex : Exception, 
    level : DataCollectorMessageLevel
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DataCollectionLogger Classe

Namespace Microsoft.VisualStudio.TestTools.Execution