Share via


GetStateExtensions.GetStateAsync<TModel> Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Strategies.IState> GetStateAsync<TModel> (this Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, Microsoft.Azure.Commands.Common.Strategies.IClient client, System.Threading.CancellationToken cancellationToken) where TModel : class;
static member GetStateAsync : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * Microsoft.Azure.Commands.Common.Strategies.IClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Strategies.IState> (requires 'Model : null)
<Extension()>
Public Function GetStateAsync(Of TModel As Class) (config As ResourceConfig(Of TModel), client As IClient, cancellationToken As CancellationToken) As Task(Of IState)

Type Parameters

TModel

Parameters

client
IClient
cancellationToken
CancellationToken

Returns

Applies to