Gets or sets the number of blocks that may be simultaneously uploaded when uploading a blob that is greater than the value specified by the SingleBlobUploadThresholdInBytes property. Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
Visual Basic |
---|
Dim instance As CloudBlobClient Dim value As Integer value = instance.ParallelOperationThreadCount instance.ParallelOperationThreadCount = value |
Syntax
Visual Basic |
---|
Public Property ParallelOperationThreadCount As Integer |
C# |
---|
public int ParallelOperationThreadCount { get; set; } |
C++ |
---|
public: property int ParallelOperationThreadCount { int get (); void set (int value); } |
J# |
---|
JScript |
---|
Property Value
Type: System.Int32The number of block upload operations that may proceed in parallel, up to the maximum of 64.Remarks
When you upload a blob that is greater than the value specified by the SingleBlobUploadThresholdInBytes property, it is automatically divided into blocks that are uploaded individually and assembled into the complete blob by the service. The ParallelOperationThreadCount property specifies how many blocks may be uploaded simultaneously.
The default value of the ParallelOperationThreadCount property is the minimum number of asynchronous I/O threads created on demand by the system thread pool.
The value of ParallelOperationThreadCount applies per logical operation, so if you are performing two operations, you will have up to the value of ParallelOperationThreadCount threads for each operation. The total number of threads available is limited by the number of threads available in the system thread pool.
Note that there is no benefit to setting this value to a number higher than the number of blocks that are being uploaded.