Share via


CmdletExtensions.ExecuteSynchronouslyOrAsJob Method

Definition

Overloads

ExecuteSynchronouslyOrAsJob<T>(T)
ExecuteSynchronouslyOrAsJob<T>(T, Action<T>)

ExecuteSynchronouslyOrAsJob<T>(T)

public static void ExecuteSynchronouslyOrAsJob<T> (this T cmdlet) where T : Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet;
static member ExecuteSynchronouslyOrAsJob : 'T -> unit (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)
<Extension()>
Public Sub ExecuteSynchronouslyOrAsJob(Of T As AzurePSCmdlet) (cmdlet As T)

Type Parameters

T

Parameters

cmdlet
T

Applies to

ExecuteSynchronouslyOrAsJob<T>(T, Action<T>)

public static void ExecuteSynchronouslyOrAsJob<T> (this T cmdlet, Action<T> executor) where T : Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet;
static member ExecuteSynchronouslyOrAsJob : 'T * Action<'T (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)> -> unit (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)
<Extension()>
Public Sub ExecuteSynchronouslyOrAsJob(Of T As AzurePSCmdlet) (cmdlet As T, executor As Action(Of T))

Type Parameters

T

Parameters

cmdlet
T
executor
Action<T>

Applies to