ShareFilesStorageResourceProvider.FromDirectoryAsync 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.
Creates a storage resource pointing towards the given container URI.
public System.Threading.Tasks.ValueTask<Azure.Storage.DataMovement.StorageResource> FromDirectoryAsync(Uri directoryUri, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default, System.Threading.CancellationToken cancellationToken = default);
member this.FromDirectoryAsync : Uri * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Azure.Storage.DataMovement.StorageResource>
Public Function FromDirectoryAsync (directoryUri As Uri, Optional options As ShareFileStorageResourceOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of StorageResource)
Parameters
- directoryUri
- Uri
Target location.
- options
- ShareFileStorageResourceOptions
Options for creating the storage resource.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
The configured storage resource.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET