Was this page helpful?

Block Method

    Table of Contents

    Block()

    public AResult Block();
    Block on the current thread until the result completes either successfully or with an exception.

    Remarks

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

    Parameters

    Name Type Description

    Returns

    Type: AResult
    The current result instance.

    Block(AutoResetEvent signal)

    public AResult Block(AutoResetEvent signal);
    Block on the current thread until the result completes either successfully or with an exception.

    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

    Type: AResult
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by