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

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

    Show / Hide Table of Contents

    Class AwaiterExtensions.SimpleCoroutineAwaiter<T>

    Processes Coroutine and notifies completion with result.

    Inheritance
    Object
    AwaiterExtensions.SimpleCoroutineAwaiter<T>
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class SimpleCoroutineAwaiter<T> : INotifyCompletion
    Type Parameters
    Name Description
    T

    The result type.

    Properties

    IsCompleted

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

    Methods

    Complete(T, Exception)

    Declaration
    public void Complete(T taskResult, Exception e)
    Parameters
    Type Name Description
    T taskResult
    Exception e

    GetResult()

    Declaration
    public T GetResult()
    Returns
    Type Description
    T
    Back to top Generated by DocFX