Freigeben über


CloudPageBlob.ResizeAsync Methode

Definition

Überlädt

ResizeAsync(Int64, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

ResizeAsync(Int64)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

ResizeAsync(Int64, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

ResizeAsync(Int64, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

ResizeAsync(Int64, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ResizeAsync (long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ResizeAsync : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.ResizeAsync : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function ResizeAsync (size As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task

Parameter

size
Int64

Die Größe des Blobs in Bytes.

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.

operationContext
OperationContext

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ResizeAsync(Int64)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ResizeAsync (long size);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ResizeAsync : int64 -> System.Threading.Tasks.Task
override this.ResizeAsync : int64 -> System.Threading.Tasks.Task
Public Overridable Function ResizeAsync (size As Long) As Task

Parameter

size
Int64

Die Größe des Blobs in Bytes.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ResizeAsync(Int64, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ResizeAsync (long size, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ResizeAsync : int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResizeAsync : int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ResizeAsync (size As Long, cancellationToken As CancellationToken) As Task

Parameter

size
Int64

Die Größe des Blobs in Bytes.

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

ResizeAsync(Int64, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Größe des Seitenblobs auf die angegebene Größe zu ändern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ResizeAsync (long size, 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 ResizeAsync : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResizeAsync : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ResizeAsync (size As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameter

size
Int64

Die Größe des Blobs in Bytes.

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.

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-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: