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

TaskFactory<TResult>.CreationOptions Property

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

Gets the TaskCreationOptions enumeration value for this task factory.

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

public TaskCreationOptions CreationOptions { get; }

Property Value

Type: System.Threading.Tasks.TaskCreationOptions
One of the enumeration values that specifies the default creation options for this task factory.

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

Show:
© 2017 Microsoft