다음을 통해 공유


ISettingsLogger.LogFailure Method

Definition

Overloads

LogFailure(SettingLogContext)

Logs information about an operation failure.

LogFailure(SettingLogContext, Exception)

Logs information about an operation failure associated with a specific exception.

LogFailure(SettingLogContext)

Logs information about an operation failure.

public:
 void LogFailure(Microsoft::VisualStudio::Settings::Telemetry::SettingLogContext ^ result);
void LogFailure(Microsoft::VisualStudio::Settings::Telemetry::SettingLogContext const & result);
public void LogFailure (Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext result);
abstract member LogFailure : Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext -> unit
Public Sub LogFailure (result As SettingLogContext)

Parameters

result
SettingLogContext

The result.

Exceptions

May be thrown when result is null.

Applies to

LogFailure(SettingLogContext, Exception)

Logs information about an operation failure associated with a specific exception.

public:
 void LogFailure(Microsoft::VisualStudio::Settings::Telemetry::SettingLogContext ^ result, Exception ^ ex);
public void LogFailure (Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext result, Exception ex);
abstract member LogFailure : Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext * Exception -> unit
Public Sub LogFailure (result As SettingLogContext, ex As Exception)

Parameters

result
SettingLogContext

The result.

ex
Exception

The exception.

Exceptions

May be thrown when result or ex is null.

Applies to