CmdletExtensions.ExecuteAsJob 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
ExecuteAsJob<T>(T, String) | |
ExecuteAsJob<T>(T, String, Action<T>) |
ExecuteAsJob<T>(T, String)
public static System.Management.Automation.Job ExecuteAsJob<T> (this T cmdlet, string jobName) where T : Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet;
static member ExecuteAsJob : 'T * string -> System.Management.Automation.Job (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)
<Extension()>
Public Function ExecuteAsJob(Of T As AzurePSCmdlet) (cmdlet As T, jobName As String) As Job
Type Parameters
- T
Parameters
- cmdlet
- T
- jobName
- String
Returns
Applies to
ExecuteAsJob<T>(T, String, Action<T>)
public static System.Management.Automation.Job ExecuteAsJob<T> (this T cmdlet, string jobName, Action<T> executor) where T : Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet;
static member ExecuteAsJob : 'T * string * Action<'T (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)> -> System.Management.Automation.Job (requires 'T :> Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet)
<Extension()>
Public Function ExecuteAsJob(Of T As AzurePSCmdlet) (cmdlet As T, jobName As String, executor As Action(Of T)) As Job
Type Parameters
- T
Parameters
- cmdlet
- T
- jobName
- String
- executor
- Action<T>