Delen via


ReadResult.Success(String, SettingValue, SettingValueMetaData) Method

Definition

Creates a new instance of ReadResult with a success result code.

public static Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult Success(string moniker, Microsoft.VisualStudio.RpcContracts.UnifiedSettings.SettingValue settingValue, Microsoft.VisualStudio.RpcContracts.UnifiedSettings.SettingValueMetaData metaData = default);
static member Success : string * Microsoft.VisualStudio.RpcContracts.UnifiedSettings.SettingValue * Microsoft.VisualStudio.RpcContracts.UnifiedSettings.SettingValueMetaData -> Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult
Public Shared Function Success (moniker As String, settingValue As SettingValue, Optional metaData As SettingValueMetaData = Nothing) As ReadResult

Parameters

moniker
String

The moniker of the setting.

settingValue
SettingValue

The read value.

metaData
SettingValueMetaData

MetaData about the read value.

Returns

A new instance of ReadResult with a success result code.

Applies to