ParallelOptions Class
Stores options that configure the operation of methods on the Parallel class.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | ParallelOptions() | Initializes a new instance of the ParallelOptions class. |
| Name | Description | |
|---|---|---|
![]() | CancellationToken | Gets or sets the CancellationToken associated with this ParallelOptions instance. |
![]() | MaxDegreeOfParallelism | Gets or sets the maximum number of concurrent tasks enabled by this ParallelOptions instance. |
![]() | TaskScheduler | Gets or sets the TaskScheduler associated with this ParallelOptions instance. Setting this property to null indicates that the current scheduler should be used. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
The constructor is thread-safe and may be used by multiple threads concurrently to construct multiple instances. None of the other public members are thread-safe.


