BatchClient.Open 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
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기