JoinableTaskContext.CreateDefaultFactory Method
Creates a factory without a JoinableTaskCollection.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Protected Friend Overridable Function CreateDefaultFactory As JoinableTaskFactory
protected internal virtual JoinableTaskFactory CreateDefaultFactory()
protected public:
virtual JoinableTaskFactory^ CreateDefaultFactory()
abstract CreateDefaultFactory : unit -> JoinableTaskFactory
override CreateDefaultFactory : unit -> JoinableTaskFactory
function CreateDefaultFactory() : JoinableTaskFactory
Return Value
Type: Microsoft.VisualStudio.Threading.JoinableTaskFactory
Returns JoinableTaskFactory.
Remarks
Used for initializing the Factory property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.