CloudBlob.DownloadToFileAsync Methode

Definition

Überlädt

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Lädt den Inhalt eines BLOBs in eine Datei herunter.

DownloadToFileAsync(String, FileMode)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

DownloadToFileAsync(String, FileMode, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Lädt den Inhalt eines BLOBs in eine Datei herunter.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadToFileAsync (string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> progressHandler, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DownloadToFileAsync (path As String, mode As FileMode, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

Parameter

path
String

Eine Zeichenfolge, die den Dateipfad enthält, der den Blobinhalt bereitstellt.

mode
FileMode

Ein FileMode Enumerationswert, der angibt, wie die Datei geöffnet werden soll.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Zugriffsbedingungen für das Blob darstellt.

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.

progressHandler
IProgress<StorageProgress>

Ein IProgress<T> -Objekt zum Verarbeiten von StorageProgress Nachrichten.

cancellationToken
CancellationToken

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

Gibt zurück

Eine Task, die eine asynchrone Aktion darstellt.

Attribute

Gilt für:

DownloadToFileAsync(String, FileMode)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadToFileAsync (string path, System.IO.FileMode mode);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadToFileAsync : string * System.IO.FileMode -> System.Threading.Tasks.Task
override this.DownloadToFileAsync : string * System.IO.FileMode -> System.Threading.Tasks.Task
Public Overridable Function DownloadToFileAsync (path As String, mode As FileMode) As Task

Parameter

path
String

Eine Zeichenfolge, die den Pfad zur Zieldatei enthält.

mode
FileMode

Ein FileMode Enumerationswert, der bestimmt, wie die Datei geöffnet oder erstellt wird.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DownloadToFileAsync(String, FileMode, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadToFileAsync (string path, System.IO.FileMode mode, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadToFileAsync : string * System.IO.FileMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadToFileAsync : string * System.IO.FileMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DownloadToFileAsync (path As String, mode As FileMode, cancellationToken As CancellationToken) As Task

Parameter

path
String

Eine Zeichenfolge, die den Pfad zur Zieldatei enthält.

mode
FileMode

Ein FileMode Enumerationswert, der bestimmt, wie die Datei geöffnet oder erstellt wird.

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:

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

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

Parameter

path
String

Eine Zeichenfolge, die den Pfad zur Zieldatei enthält.

mode
FileMode

Ein FileMode Enumerationswert, der bestimmt, wie die Datei geöffnet oder erstellt wird.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.

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:

DownloadToFileAsync(String, FileMode, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in eine Datei herunterzuladen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadToFileAsync (string path, System.IO.FileMode mode, 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 DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DownloadToFileAsync (path As String, mode As FileMode, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameter

path
String

Eine Zeichenfolge, die den Pfad zur Zieldatei enthält.

mode
FileMode

Ein FileMode Enumerationswert, der bestimmt, wie die Datei geöffnet oder erstellt wird.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.

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: