-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ShareFileUploadOptions.cs
36 lines (31 loc) · 1.13 KB
/
ShareFileUploadOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary>
/// Options for uploading a file.
/// </summary>
public class ShareFileUploadOptions
{
/// <summary>
/// Progress handler for tracking upload progress.
/// </summary>
public IProgress<long> ProgressHandler { get; set; }
/// <summary>
/// Request conditions for upload
/// </summary>
public ShareFileRequestConditions Conditions { get; set; }
/// <summary>
/// Optional override settings for this client's <see cref="ShareClientOptions.TransferValidation"/> settings.
/// </summary>
public UploadTransferValidationOptions TransferValidation { get; set; }
/// <summary>
/// Optional <see cref="StorageTransferOptions"/> to configure
/// parallel transfer behavior.
/// <para/>
/// Share files do not support concurrent upload.
/// </summary>
public StorageTransferOptions TransferOptions { get; set; }
}
}