共用方式為


JoinableTaskContextNode.CreateDefaultFactory Method

Creates a factory without a JoinableTaskCollection.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Protected Overridable Function CreateDefaultFactory As JoinableTaskFactory
protected virtual JoinableTaskFactory CreateDefaultFactory()
protected:
virtual JoinableTaskFactory^ CreateDefaultFactory()
abstract CreateDefaultFactory : unit -> JoinableTaskFactory  
override CreateDefaultFactory : unit -> JoinableTaskFactory
protected function CreateDefaultFactory() : JoinableTaskFactory

Return Value

Type: Microsoft.VisualStudio.Threading.JoinableTaskFactory
Returns JoinableTaskFactory.

Remarks

Used for initializing the Factory property.

.NET Framework Security

See Also

Reference

JoinableTaskContextNode Class

Microsoft.VisualStudio.Threading Namespace