BatchClient.OpenAsync Method (BatchRestClient)
Creates an instance of BatchClient associated with the specified BatchRestClient.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<BatchClient> OpenAsync(
BatchRestClient restClient
)
public:
static Task<BatchClient^>^ OpenAsync(
BatchRestClient^ restClient
)
static member OpenAsync :
restClient:BatchRestClient -> Task<BatchClient>
Public Shared Function OpenAsync (
restClient As BatchRestClient
) As Task(Of BatchClient)
Parameters
restClient
Type: Microsoft.Azure.Batch.Protocol.BatchRestClientThe instance of BatchRestClient to use for all calls made to the Batch Service. It will not be disposed when BatchClient is disposed.
Return Value
Type: System.Threading.Tasks.Task<BatchClient>
A Task object that represents the asynchronous operation.
See Also
OpenAsync Overload
BatchClient Class
Microsoft.Azure.Batch Namespace
Return to top