InvalidCloudBlob.BreakLeaseAsync Method

Definition

Overloads

BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext)
BreakLeaseAsync(Nullable<TimeSpan>, CancellationToken)
BreakLeaseAsync(Nullable<TimeSpan>)

BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public override System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync (TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.BreakLeaseAsync : Nullable<TimeSpan> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<TimeSpan>
Public Overrides Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TimeSpan)

Parameters

breakPeriod
Nullable<TimeSpan>
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to

BreakLeaseAsync(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext)

public override System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync (TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
override this.BreakLeaseAsync : Nullable<TimeSpan> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<TimeSpan>
Public Overrides Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of TimeSpan)

Parameters

breakPeriod
Nullable<TimeSpan>
accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to

BreakLeaseAsync(Nullable<TimeSpan>, CancellationToken)

public override System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync (TimeSpan? breakPeriod, System.Threading.CancellationToken cancellationToken);
override this.BreakLeaseAsync : Nullable<TimeSpan> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<TimeSpan>
Public Overrides Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan), cancellationToken As CancellationToken) As Task(Of TimeSpan)

Parameters

breakPeriod
Nullable<TimeSpan>
cancellationToken
CancellationToken

Returns

Applies to

BreakLeaseAsync(Nullable<TimeSpan>)

public override System.Threading.Tasks.Task<TimeSpan> BreakLeaseAsync (TimeSpan? breakPeriod);
override this.BreakLeaseAsync : Nullable<TimeSpan> -> System.Threading.Tasks.Task<TimeSpan>
Public Overrides Function BreakLeaseAsync (breakPeriod As Nullable(Of TimeSpan)) As Task(Of TimeSpan)

Parameters

breakPeriod
Nullable<TimeSpan>

Returns

Applies to