Edit

Share via


RegistryProperty.GetValueAsync Method

Definition

Overloads

GetValueAsync(String, String, CancellationToken, Object)
GetValueAsync<T>(String, String, CancellationToken, T)

GetValueAsync(String, String, CancellationToken, Object)

public virtual System.Threading.Tasks.Task<object> GetValueAsync (string key, string name, System.Threading.CancellationToken token, object defaultValue = null);
abstract member GetValueAsync : string * string * System.Threading.CancellationToken * obj -> System.Threading.Tasks.Task<obj>
override this.GetValueAsync : string * string * System.Threading.CancellationToken * obj -> System.Threading.Tasks.Task<obj>
Public Overridable Function GetValueAsync (key As String, name As String, token As CancellationToken, Optional defaultValue As Object = null) As Task(Of Object)

Parameters

key
String
name
String
defaultValue
Object

Returns

Implements

Applies to

GetValueAsync<T>(String, String, CancellationToken, T)

public abstract System.Threading.Tasks.Task<T> GetValueAsync<T> (string key, string name, System.Threading.CancellationToken token, T defaultValue = null);
abstract member GetValueAsync : string * string * System.Threading.CancellationToken * 'T -> System.Threading.Tasks.Task<'T>
Public MustOverride Function GetValueAsync(Of T) (key As String, name As String, token As CancellationToken, Optional defaultValue As T = null) As Task(Of T)

Type Parameters

T

Parameters

key
String
name
String
defaultValue
T

Returns

Task<T>

Implements

Applies to