Share via


IJoinableTaskFactoryAwareHostObject.SetContext(JoinableTaskFactory) Method

Definition

Set the joinable task factory that the host object should use for thread switching operations.

public:
 void SetContext(Microsoft::VisualStudio::Threading::JoinableTaskFactory ^ factory);
public void SetContext (Microsoft.VisualStudio.Threading.JoinableTaskFactory factory);
abstract member SetContext : Microsoft.VisualStudio.Threading.JoinableTaskFactory -> unit
Public Sub SetContext (factory As JoinableTaskFactory)

Parameters

factory
JoinableTaskFactory

The joinable task factory to use.

Applies to