Partager via


SettingLogContext Constructors

Definition

Overloads

SettingLogContext(SettingScenario, SettingAction, SettingType, String, String, Int32, String, String)

Initializes a new instance of SettingLogContext with the specified values.

SettingLogContext(SettingScenario, SettingAction, SettingType, String, String, Int32, String, String, String)

SettingLogContext(SettingScenario, SettingAction, SettingType, String, String, Int32, String, String)

Initializes a new instance of SettingLogContext with the specified values.

 SettingLogContext(Microsoft::VisualStudio::Settings::Telemetry::SettingScenario scenario, Microsoft::VisualStudio::Settings::Telemetry::SettingAction action, Microsoft::VisualStudio::Settings::Telemetry::SettingType settingType, std::wstring const & settingName, std::wstring const & settingValueType, int settingValueSize, std::wstring const & resultDetail = null, std::wstring const & step = null);
public SettingLogContext (Microsoft.VisualStudio.Settings.Telemetry.SettingScenario scenario, Microsoft.VisualStudio.Settings.Telemetry.SettingAction action, Microsoft.VisualStudio.Settings.Telemetry.SettingType settingType, string settingName, string settingValueType, int settingValueSize, string resultDetail = default, string step = default);
new Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext : Microsoft.VisualStudio.Settings.Telemetry.SettingScenario * Microsoft.VisualStudio.Settings.Telemetry.SettingAction * Microsoft.VisualStudio.Settings.Telemetry.SettingType * string * string * int * string * string -> Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext
Public Sub New (scenario As SettingScenario, action As SettingAction, settingType As SettingType, settingName As String, settingValueType As String, settingValueSize As Integer, Optional resultDetail As String = Nothing, Optional step As String = Nothing)

Parameters

scenario
SettingScenario

The scenario.

action
SettingAction

The action.

settingType
SettingType

The type of the setting.

settingName
String

The name of the setting.

settingValueType
String
settingValueSize
Int32

The type of the setting value.

resultDetail
String

The result detail.

step
String

The step.

Applies to

SettingLogContext(SettingScenario, SettingAction, SettingType, String, String, Int32, String, String, String)

public SettingLogContext (Microsoft.VisualStudio.Settings.Telemetry.SettingScenario scenario, Microsoft.VisualStudio.Settings.Telemetry.SettingAction action, Microsoft.VisualStudio.Settings.Telemetry.SettingType settingType = Microsoft.VisualStudio.Settings.Telemetry.SettingType.Unknown, string settingName = default, string settingValueType = default, int settingValueSize = -1, string settingValue = default, string resultDetail = default, string step = default);
new Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext : Microsoft.VisualStudio.Settings.Telemetry.SettingScenario * Microsoft.VisualStudio.Settings.Telemetry.SettingAction * Microsoft.VisualStudio.Settings.Telemetry.SettingType * string * string * int * string * string * string -> Microsoft.VisualStudio.Settings.Telemetry.SettingLogContext
Public Sub New (scenario As SettingScenario, action As SettingAction, Optional settingType As SettingType = Microsoft.VisualStudio.Settings.Telemetry.SettingType.Unknown, Optional settingName As String = Nothing, Optional settingValueType As String = Nothing, Optional settingValueSize As Integer = -1, Optional settingValue As String = Nothing, Optional resultDetail As String = Nothing, Optional step As String = Nothing)

Parameters

scenario
SettingScenario
action
SettingAction
settingType
SettingType
settingName
String
settingValueType
String
settingValueSize
Int32
settingValue
String
resultDetail
String
step
String

Applies to