Was this page helpful?

Wait Method

    Table of Contents

    Wait()

    public void Wait();
    Block on the current thread until the result completes. Will throw if an exception triggers completion.

    Remarks

    WARNING: This method is thread-blocking. Please avoid using it if possible.

    Parameters

    Name Type Description

    Returns

    void

    Wait(AutoResetEvent signal)

    public void Wait(AutoResetEvent signal);
    Block on the current thread until the result completes. Will throw if an exception triggers completion.

    Remarks

    WARNING: This method is thread-blocking. Please avoid using it if possible.

    Parameters

    Name Type Description
    signal AutoResetEvent The reset event to use for the blocking operation.

    Returns

    void
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by