CmdletExtensions.ExecuteSynchronouslyOrAsJob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>