編輯

共用方式為


TaskFactory.CreationOptions Property

Definition

Gets the default task creation options for this task factory.

public:
 property System::Threading::Tasks::TaskCreationOptions CreationOptions { System::Threading::Tasks::TaskCreationOptions get(); };
public System.Threading.Tasks.TaskCreationOptions CreationOptions { get; }
member this.CreationOptions : System.Threading.Tasks.TaskCreationOptions
Public ReadOnly Property CreationOptions As TaskCreationOptions

Property Value

The default task creation options for this task factory.

Remarks

The property value is used to create all tasks, unless other options are explicitly specified during calls to this factory's methods.

Applies to

See also