Amazon.DynamoDBv2.DataModel.S3Link.UploadFromAsync C# (CSharp) Метод

UploadFromAsync() публичный Метод

Uploads the specified file and stores it in the specified bucket with the provided key from construction.
public UploadFromAsync ( string sourcePath, CancellationToken cancellationToken = default(CancellationToken) ) : Task
sourcePath string Path of the file to be uploaded.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат Task
        public Task UploadFromAsync(string sourcePath, CancellationToken cancellationToken = default(CancellationToken))
        {
            return this.s3ClientCache.GetClient(this.RegionAsEndpoint).UploadObjectFromFilePathAsync(this.linker.s3.bucket, this.linker.s3.key, sourcePath, null, cancellationToken);
        }