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

AsyncCmdletExtensions.CmdletStartAndWait Method

Definition

public static void CmdletStartAndWait (this Microsoft.Azure.Commands.Common.Strategies.ICmdlet cmdlet, Func<Microsoft.Azure.Commands.Common.Strategies.IAsyncCmdlet,System.Threading.Tasks.Task> createAndStartTask);
static member CmdletStartAndWait : Microsoft.Azure.Commands.Common.Strategies.ICmdlet * Func<Microsoft.Azure.Commands.Common.Strategies.IAsyncCmdlet, System.Threading.Tasks.Task> -> unit
<Extension()>
Public Sub CmdletStartAndWait (cmdlet As ICmdlet, createAndStartTask As Func(Of IAsyncCmdlet, Task))

Parameters

cmdlet
ICmdlet
createAndStartTask
Func<IAsyncCmdlet,Task>

Applies to