CreationOptions Property
Collapse the table of content
Expand the table of content

TaskFactory.CreationOptions Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the TaskCreationOptions value of this TaskFactory.

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

public TaskCreationOptions CreationOptions { get; }

Property Value

Type: System.Threading.Tasks.TaskCreationOptions
The TaskCreationOptions value of this TaskFactory.

This property returns the default creation options for this factory. They will be used to create all tasks unless other options are explicitly specified during calls to this factory's methods.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft