Share via


CloudFile.DownloadToFileAsync Methode

Definition

Überlädt

DownloadToFileAsync(String, FileMode)

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale Datei herunterzuladen.

DownloadToFileAsync(String, FileMode, CancellationToken)

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale Datei herunterzuladen.

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale Datei herunterzuladen.

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale Datei herunterzuladen.

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale Datei herunterzuladen.

DownloadToFileAsync(String, FileMode)

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale 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

Der Pfad zur Zieldatei im lokalen Dateisystem.

mode
FileMode

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

Gibt zurück

Ein Task-Objekt, das den aktuellen Vorgang darstellt.

Attribute

Gilt für:

DownloadToFileAsync(String, FileMode, CancellationToken)

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale 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

Der Pfad zur Zieldatei im lokalen Dateisystem.

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 aktuellen Vorgang darstellt.

Attribute

Gilt für:

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale 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.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DownloadToFileAsync : string * System.IO.FileMode * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function DownloadToFileAsync (path As String, mode As FileMode, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task

Parameter

path
String

Der Pfad zur Zieldatei im lokalen Dateisystem.

mode
FileMode

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

accessCondition
AccessCondition

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

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.

Gibt zurück

Ein Task-Objekt, das den aktuellen Vorgang darstellt.

Attribute

Gilt für:

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale 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.File.FileRequestOptions 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.File.FileRequestOptions * 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.File.FileRequestOptions * 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 FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameter

path
String

Der Pfad zur Zieldatei im lokalen Dateisystem.

mode
FileMode

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

accessCondition
AccessCondition

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

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.

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den aktuellen Vorgang darstellt.

Attribute

Gilt für:

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

Gibt einen Task zurück, der einen asynchronen Vorgang ausführt, um den Inhalt einer Datei im Dateidienst in eine lokale 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.File.FileRequestOptions 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.File.FileRequestOptions * 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.File.FileRequestOptions * 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 FileRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

Parameter

path
String

Der Pfad zur Zieldatei im lokalen Dateisystem.

mode
FileMode

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

accessCondition
AccessCondition

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

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.

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

Ein Task-Objekt, das den aktuellen Vorgang darstellt.

Attribute

Gilt für: