Editar

Partilhar via


TaskFactory<TResult>.CreationOptions Property

Definition

Gets the TaskCreationOptions enumeration value 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

One of the enumeration values that specifies the default creation options for this task factory.

Remarks

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.

Applies to

See also