Share via


JobCollectionOperationsExtensions.BeginCreatingAsync Method

Create a job collection.

Namespace: Microsoft.WindowsAzure.Management.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Usage

'Usage
Dim operations As IJobCollectionOperations
Dim cloudServiceName As String
Dim jobCollectionName As String
Dim parameters As JobCollectionCreateParameters
Dim returnValue As Task(Of JobCollectionCreateResponse)

returnValue = JobCollectionOperationsExtensions.BeginCreatingAsync(operations, cloudServiceName, jobCollectionName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function BeginCreatingAsync ( _
    operations As IJobCollectionOperations, _
    cloudServiceName As String, _
    jobCollectionName As String, _
    parameters As JobCollectionCreateParameters _
) As Task(Of JobCollectionCreateResponse)
[ExtensionAttribute] 
public static Task<JobCollectionCreateResponse> BeginCreatingAsync (
    IJobCollectionOperations operations,
    string cloudServiceName,
    string jobCollectionName,
    JobCollectionCreateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<JobCollectionCreateResponse^>^ BeginCreatingAsync (
    IJobCollectionOperations^ operations, 
    String^ cloudServiceName, 
    String^ jobCollectionName, 
    JobCollectionCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<JobCollectionCreateResponse> BeginCreatingAsync (
    IJobCollectionOperations operations, 
    String cloudServiceName, 
    String jobCollectionName, 
    JobCollectionCreateParameters parameters
)
ExtensionAttribute 
public static function BeginCreatingAsync (
    operations : IJobCollectionOperations, 
    cloudServiceName : String, 
    jobCollectionName : String, 
    parameters : JobCollectionCreateParameters
) : Task<JobCollectionCreateResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations.
  • cloudServiceName
    Required. The name of the cloud service containing the job collection.
  • jobCollectionName
    Required. The name of the job collection to create.
  • parameters
    Required. Parameters supplied to the Create Job Collection operation.

Return Value

The Create Job Collection operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

JobCollectionOperationsExtensions Class
JobCollectionOperationsExtensions Members
Microsoft.WindowsAzure.Management.Scheduler Namespace