RegistryProperty.GetValueAsync 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.
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
- token
- CancellationToken
- 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
- token
- CancellationToken
- defaultValue
- T
Returns
Task<T>