日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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