共用方式為


JoinableTaskContext.CreateDefaultFactory Method

Definition

Creates a factory without a JoinableTaskCollection.

protected public:
 virtual Microsoft::VisualStudio::Threading::JoinableTaskFactory ^ CreateDefaultFactory();
 virtual Microsoft::VisualStudio::Threading::JoinableTaskFactory CreateDefaultFactory();
protected internal virtual Microsoft.VisualStudio.Threading.JoinableTaskFactory CreateDefaultFactory ();
abstract member CreateDefaultFactory : unit -> Microsoft.VisualStudio.Threading.JoinableTaskFactory
override this.CreateDefaultFactory : unit -> Microsoft.VisualStudio.Threading.JoinableTaskFactory
Protected Friend Overridable Function CreateDefaultFactory () As JoinableTaskFactory

Returns

Returns JoinableTaskFactory.

Remarks

Used for initializing the Factory property.

Applies to