JoinableTaskContext.IsNoOpContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether this instance is not associated with any main thread (e.g. created with CreateNoOpContext()).
public bool IsNoOpContext { get; }
member this.IsNoOpContext : bool
Public ReadOnly Property IsNoOpContext As Boolean
Property Value
Remarks
This allows library code to skip some additional work in the environments that do not have a main thread.