ISettingsLogger.LogFailure 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.
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.