CloudBlob.ChangeLeaseAsync Methode

Definition

Überlädt

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

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

ChangeLeaseAsync(String, AccessCondition)

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

ChangeLeaseAsync(String, AccessCondition, CancellationToken)

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

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

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 werden 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.

operationContext
OperationContext

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

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ string, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ChangeLeaseAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)

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 werden 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.

operationContext
OperationContext

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

Gibt zurück

Ein Task<TResult>-Objekt vom Typ string, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ChangeLeaseAsync(String, AccessCondition)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition) As Task(Of String)

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 werden muss, damit die Anforderung fortgesetzt werden kann, einschließlich einer erforderlichen Lease-ID.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ string, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ChangeLeaseAsync(String, AccessCondition, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> ChangeLeaseAsync (string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.ChangeLeaseAsync : string * Microsoft.Azure.Storage.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function ChangeLeaseAsync (proposedLeaseId As String, accessCondition As AccessCondition, cancellationToken As CancellationToken) As Task(Of String)

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 werden muss, damit die Anforderung fortgesetzt werden kann, einschließlich einer erforderlichen Lease-ID.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ string, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: