Partager via


AsyncCmdletExtensions.RunAsync<TModel> Method

Definition

public static System.Threading.Tasks.Task<TModel> RunAsync<TModel> (this Microsoft.Azure.Commands.Common.Strategies.IClient client, string subscriptionId, Microsoft.Azure.Commands.Common.Strategies.IParameters<TModel> parameters, Microsoft.Azure.Commands.Common.Strategies.IAsyncCmdlet asyncCmdlet) where TModel : class;
static member RunAsync : Microsoft.Azure.Commands.Common.Strategies.IClient * string * Microsoft.Azure.Commands.Common.Strategies.IParameters<'Model (requires 'Model : null)> * Microsoft.Azure.Commands.Common.Strategies.IAsyncCmdlet -> System.Threading.Tasks.Task<'Model (requires 'Model : null)> (requires 'Model : null)
<Extension()>
Public Function RunAsync(Of TModel As Class) (client As IClient, subscriptionId As String, parameters As IParameters(Of TModel), asyncCmdlet As IAsyncCmdlet) As Task(Of TModel)

Type Parameters

TModel

Parameters

client
IClient
subscriptionId
String
parameters
IParameters<TModel>
asyncCmdlet
IAsyncCmdlet

Returns

Task<TModel>

Applies to