SALG : 1-800-867-1389
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

CloudBlobClient.ParallelOperationThreadCount Property

Updated: April 24, 2011

[This topic is part of the Windows Azure Storage Client Library 1.7, which has been deprecated. The current recommended version is Storage Client Library 3.0.]

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)

'Brug

public int ParallelOperationThreadCount { get; set; }

Property Value

Type: System.Int32

The number of block upload operations that may proceed in parallel, up to the maximum of 64.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Syntes du, dette var nyttigt?
(1500 tegn tilbage)
Tak for din feedback
Vis:
© 2014 Microsoft