JoinableTaskFactory Constructor (JoinableTaskContext)
Initializes a new instance of JoinableTaskFactory with the specified owning context.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub New ( _
owner As JoinableTaskContext _
)
public JoinableTaskFactory(
JoinableTaskContext owner
)
public:
JoinableTaskFactory(
JoinableTaskContext^ owner
)
new :
owner:JoinableTaskContext -> JoinableTaskFactory
public function JoinableTaskFactory(
owner : JoinableTaskContext
)
Parameters
owner
Type: Microsoft.VisualStudio.Threading.JoinableTaskContextThe collection that all tasks created by this factory will belong to until they complete.
.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.