The SwitchTo type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberMainThread
Changes the context of the following commands to the MainThread when yielded.
Public fieldStatic memberThread
Changes the context of the following commands to the WorkerThread when yielded.

See Also