CloudBlob.BeginChangeLease Methode

Definition

Überlädt

BeginChangeLease(String, AccessCondition, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Lease für dieses Blob zu ändern.

BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Lease für dieses Blob zu ändern.

BeginChangeLease(String, AccessCondition, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Lease für dieses Blob zu ändern.

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

Parameter

proposedLeaseId
String

Eine Zeichenfolge, die die vorgeschlagene Lease-ID für die neue Leasedauer darstellt. Darf nicht NULL sein.

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:

BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Lease für dieses Blob zu ändern.

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

Parameter

proposedLeaseId
String

Eine Zeichenfolge, die die vorgeschlagene Lease-ID für die neue Leasedauer darstellt. Darf nicht NULL sein.

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: