Share via


CloudBlob.BeginRenewLease Methode

Definition

Überlädt

BeginRenewLease(AccessCondition, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um eine Lease für dieses Blob zu erneuern.

BeginRenewLease(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um eine Lease für dieses Blob zu erneuern.

BeginRenewLease(AccessCondition, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um eine Lease für dieses Blob zu erneuern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease (Microsoft.Azure.Storage.AccessCondition accessCondition, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginRenewLease : Microsoft.Azure.Storage.AccessCondition * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginRenewLease : Microsoft.Azure.Storage.AccessCondition * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginRenewLease (accessCondition As AccessCondition, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

accessCondition
AccessCondition

Ein AccessCondition -Objekt, das die Bedingung darstellt, die erfüllt sein muss, damit die Anforderung fortgesetzt werden kann, einschließlich einer erforderlichen Lease-ID.

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:

BeginRenewLease(AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um eine Lease für dieses Blob zu erneuern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease (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 BeginRenewLease : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginRenewLease : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginRenewLease (accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

accessCondition
AccessCondition

Ein AccessCondition -Objekt, das die Bedingung darstellt, die erfüllt sein muss, damit die Anforderung fortgesetzt werden kann, einschließlich einer erforderlichen Lease-ID.

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: