We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Class SyncContextUtility

    Utility class to assist in thread and context synchronization.

    Inheritance
    Object
    SyncContextUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public static class SyncContextUtility

    Properties

    IsMainThread

    Is this being called from the main thread?

    Declaration
    public static bool IsMainThread { get; }
    Property Value
    Type Description
    Boolean

    UnitySynchronizationContext

    This Unity Player's Synchronization Context.

    Declaration
    public static SynchronizationContext UnitySynchronizationContext { get; }
    Property Value
    Type Description
    SynchronizationContext

    UnityThreadId

    This Unity Player's Thread Id.

    Declaration
    public static int UnityThreadId { get; }
    Property Value
    Type Description
    Int32
    Back to top Generated by DocFX