Udostępnij za pośrednictwem


SettingRequestResult Class

Definition

The result of a request to retrieve a setting value.

public ref class SettingRequestResult
public class SettingRequestResult
type SettingRequestResult = class
Public Class SettingRequestResult
Inheritance
SettingRequestResult

Constructors

SettingRequestResult(Object)

Initializes a new instance of the SettingRequestResult class representing a successful setting retrieval.

Properties

Failure

Gets a SettingRequestResult representing a failed setting retrieval.

Succeeded

Gets a value indicating whether the request succeeded.

Value

Gets the value of the setting. Only valid if Succeeded == true.

Methods

DeserializeValue<T>()

Returns the setting value converted to the given type. Avoids loading Newtonsoft.Json if possible.

Applies to