ReadResult.Success(String, SettingValue, SettingValueMetaData) 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.
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.