Megosztás a következőn keresztül:


PoolOperationsExtensions.ExistsAsync Method

Definition

Gets basic properties of a Pool.

public static System.Threading.Tasks.Task<bool> ExistsAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.PoolExistsOptions poolExistsOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ExistsAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolExistsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function ExistsAsync (operations As IPoolOperations, poolId As String, Optional poolExistsOptions As PoolExistsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

operations
IPoolOperations

The operations group for this extension method.

poolId
String

The ID of the Pool to get.

poolExistsOptions
PoolExistsOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to