Freigeben über


CloudFile.BeginResize Methode

Definition

Überlädt

BeginResize(Int64, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Größe einer Datei zu ändern.

BeginResize(Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Größe einer Datei zu ändern.

BeginResize(Int64, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Größe einer Datei zu ändern.

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

Parameter

size
Int64

Die maximale Größe der Datei in Byte.

callback
AsyncCallback

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

state
Object

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

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Gilt für:

BeginResize(Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um die Größe einer Datei zu ändern.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginResize (long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginResize : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginResize : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginResize (size As Long, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

size
Int64

Die maximale Größe der Datei in Byte.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Zugriffsbedingung für die Datei darstellt. Wenn null, wird keine Bedingung verwendet.

options
FileRequestOptions

Ein FileRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

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

callback
AsyncCallback

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

state
Object

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

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Gilt für: