ShareDirectoryClientExtensions.StartUploadDirectoryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uploads the entire contents of local directory to the share directory.
public static System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer> StartUploadDirectoryAsync (this Azure.Storage.Files.Shares.ShareDirectoryClient client, string localDirectoryPath, Azure.Storage.DataMovement.Files.Shares.ShareDirectoryClientTransferOptions options = default);
static member StartUploadDirectoryAsync : Azure.Storage.Files.Shares.ShareDirectoryClient * string * Azure.Storage.DataMovement.Files.Shares.ShareDirectoryClientTransferOptions -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer>
<Extension()>
Public Function StartUploadDirectoryAsync (client As ShareDirectoryClient, localDirectoryPath As String, Optional options As ShareDirectoryClientTransferOptions = Nothing) As Task(Of DataTransfer)
Parameters
- client
- ShareDirectoryClient
The ShareDirectoryClient used for service operations.
- localDirectoryPath
- String
The full path to the local directory to be uploaded.
Options which control the directory upload.
Returns
A DataTransfer instance which can be used track progress and wait for completion with WaitForCompletionAsync(CancellationToken).
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for