CloudBlobContainer.BeginBreakLease Methode

Definition

Überlädt

BeginBreakLease(Nullable<TimeSpan>, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die aktuelle Lease für diesen Container zu unterbrechen.

BeginBreakLease(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die aktuelle Lease für diesen Container zu unterbrechen.

BeginBreakLease(Nullable<TimeSpan>, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die aktuelle Lease für diesen Container zu unterbrechen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease (TimeSpan? breakPeriod, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginBreakLease : Nullable<TimeSpan> * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginBreakLease : Nullable<TimeSpan> * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginBreakLease (breakPeriod As Nullable(Of TimeSpan), callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

breakPeriod
Nullable<TimeSpan>

Eine TimeSpan, die die zulässige Zeit für die Leasedauer darstellt und auf Sekunden abgerundet wird. Bei Festlegung auf null, ist der Unterbrechungszeitraum die verbleibende Zeit für die aktuelle Lease. Für unbegrenzte Leases wird null angegeben.

callback
AsyncCallback

Ein optionaler Rückrufdelegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegaten übergeben wird.

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Attribute

Gilt für:

BeginBreakLease(Nullable<TimeSpan>, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die aktuelle Lease für diesen Container zu unterbrechen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease (TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginBreakLease : Nullable<TimeSpan> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginBreakLease : Nullable<TimeSpan> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginBreakLease (breakPeriod As Nullable(Of TimeSpan), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

breakPeriod
Nullable<TimeSpan>

Eine TimeSpan, die die zulässige Zeit für die Leasedauer darstellt und auf Sekunden abgerundet wird. Bei Festlegung auf null, ist der Unterbrechungszeitraum die verbleibende Zeit für die aktuelle Lease. Für unbegrenzte Leases wird null angegeben.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null, wird keine Bedingung verwendet.

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

callback
AsyncCallback

Ein optionaler Rückrufdelegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegaten übergeben wird.

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Attribute

Gilt für: