你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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