Condividi tramite


BatchClient.Open Method

Definition

Overloads

Open(BatchSharedKeyCredentials)

Creates an instance of BatchClient.

Open(BatchTokenCredentials)

Creates an instance of BatchClient.

Open(BatchServiceClient)

Blocking call that creates an instance of BatchClient associated with the specified BatchServiceClient.

Open(BatchSharedKeyCredentials)

Source:
BatchClient.cs

Creates an instance of BatchClient.

public static Microsoft.Azure.Batch.BatchClient Open (Microsoft.Azure.Batch.Auth.BatchSharedKeyCredentials credentials);
static member Open : Microsoft.Azure.Batch.Auth.BatchSharedKeyCredentials -> Microsoft.Azure.Batch.BatchClient
Public Shared Function Open (credentials As BatchSharedKeyCredentials) As BatchClient

Parameters

credentials
BatchSharedKeyCredentials

The Batch account credentials.

Returns

An instance of BatchServiceClient.

Applies to

Open(BatchTokenCredentials)

Source:
BatchClient.cs

Creates an instance of BatchClient.

public static Microsoft.Azure.Batch.BatchClient Open (Microsoft.Azure.Batch.Auth.BatchTokenCredentials credentials);
static member Open : Microsoft.Azure.Batch.Auth.BatchTokenCredentials -> Microsoft.Azure.Batch.BatchClient
Public Shared Function Open (credentials As BatchTokenCredentials) As BatchClient

Parameters

credentials
BatchTokenCredentials

The Azure Active Directory Batch account credentials.

Returns

An instance of BatchServiceClient.

Applies to

Open(BatchServiceClient)

Source:
BatchClient.cs

Blocking call that creates an instance of BatchClient associated with the specified BatchServiceClient.

public static Microsoft.Azure.Batch.BatchClient Open (Microsoft.Azure.Batch.Protocol.BatchServiceClient restClient);
static member Open : Microsoft.Azure.Batch.Protocol.BatchServiceClient -> Microsoft.Azure.Batch.BatchClient
Public Shared Function Open (restClient As BatchServiceClient) As BatchClient

Parameters

restClient
BatchServiceClient

The instance of BatchServiceClient to use for all calls made to the Batch Service. It will not be disposed when BatchClient is disposed.

Returns

An instance of BatchServiceClient.

Applies to