mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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

    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

    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

    UnityThreadId

    This Unity Player's Thread Id.

    Declaration
    public static int UnityThreadId { get; }
    Property Value
    Type Description
    Int32
    In This Article
    • Properties
      • IsMainThread
      • IsMainThread
      • UnitySynchronizationContext
      • UnitySynchronizationContext
      • UnityThreadId
      • UnityThreadId
    Back to top Generated by DocFX