Was this page helpful?

From Method

    Table of contents
    1. 1. From(Func<AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, object state, Result result)
      1. 1.1. Parameters
      2. 1.2. Returns
    2. 2. From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, object state, Result result)
      1. 2.1. Generic Parameters
        1. 2.1.1. Parameter T1
      2. 2.2. Parameters
      3. 2.3. Returns
    3. 3. From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, object state, Result result)
      1. 3.1. Generic Parameters
        1. 3.1.1. Parameter T1
        2. 3.1.2. Parameter T2
      2. 3.2. Parameters
      3. 3.3. Returns
    4. 4. From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, object state, Result result)
      1. 4.1. Generic Parameters
        1. 4.1.1. Parameter T1
        2. 4.1.2. Parameter T2
        3. 4.1.3. Parameter T3
      2. 4.2. Parameters
      3. 4.3. Returns
    5. 5. From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result result)
      1. 5.1. Generic Parameters
        1. 5.1.1. Parameter T1
        2. 5.1.2. Parameter T2
        3. 5.1.3. Parameter T3
        4. 5.1.4. Parameter T4
      2. 5.2. Parameters
      3. 5.3. Returns
    6. 6. From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result result)
      1. 6.1. Generic Parameters
        1. 6.1.1. Parameter T1
        2. 6.1.2. Parameter T2
        3. 6.1.3. Parameter T3
        4. 6.1.4. Parameter T4
        5. 6.1.5. Parameter T5
      2. 6.2. Parameters
      3. 6.3. Returns
    7. 7. From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result result)
      1. 7.1. Generic Parameters
        1. 7.1.1. Parameter T1
        2. 7.1.2. Parameter T2
        3. 7.1.3. Parameter T3
        4. 7.1.4. Parameter T4
        5. 7.1.5. Parameter T5
        6. 7.1.6. Parameter T6
      2. 7.2. Parameters
      3. 7.3. Returns
    8. 8. From(Func<AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, object state, Result<T> result)
      1. 8.1. Generic Parameters
        1. 8.1.1. Parameter T
      2. 8.2. Parameters
      3. 8.3. Returns
    9. 9. From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, object state, Result<T> result)
      1. 9.1. Generic Parameters
        1. 9.1.1. Parameter T
        2. 9.1.2. Parameter T1
      2. 9.2. Parameters
      3. 9.3. Returns
    10. 10. From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, object state, Result<T> result)
      1. 10.1. Generic Parameters
        1. 10.1.1. Parameter T
        2. 10.1.2. Parameter T1
        3. 10.1.3. Parameter T2
      2. 10.2. Parameters
      3. 10.3. Returns
    11. 11. From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, object state, Result<T> result)
      1. 11.1. Generic Parameters
        1. 11.1.1. Parameter T
        2. 11.1.2. Parameter T1
        3. 11.1.3. Parameter T2
        4. 11.1.4. Parameter T3
      2. 11.2. Parameters
      3. 11.3. Returns
    12. 12. From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result<T> result)
      1. 12.1. Generic Parameters
        1. 12.1.1. Parameter T
        2. 12.1.2. Parameter T1
        3. 12.1.3. Parameter T2
        4. 12.1.4. Parameter T3
        5. 12.1.5. Parameter T4
      2. 12.2. Parameters
      3. 12.3. Returns
    13. 13. From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result<T> result)
      1. 13.1. Generic Parameters
        1. 13.1.1. Parameter T
        2. 13.1.2. Parameter T1
        3. 13.1.3. Parameter T2
        4. 13.1.4. Parameter T3
        5. 13.1.5. Parameter T4
        6. 13.1.6. Parameter T5
      2. 13.2. Parameters
      3. 13.3. Returns
    14. 14. From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result<T> result)
      1. 14.1. Generic Parameters
        1. 14.1.1. Parameter T
        2. 14.1.2. Parameter T1
        3. 14.1.3. Parameter T2
        4. 14.1.4. Parameter T3
        5. 14.1.5. Parameter T4
        6. 14.1.6. Parameter T5
        7. 14.1.7. Parameter T6
      2. 14.2. Parameters
      3. 14.3. Returns
    Table of Contents
    1. 1. From(Func<AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, object state, Result result)
      1. 1.1. Parameters
      2. 1.2. Returns
    2. 2. From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, object state, Result result)
      1. 2.1. Generic Parameters
        1. 2.1.1. Parameter T1
      2. 2.2. Parameters
      3. 2.3. Returns
    3. 3. From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, object state, Result result)
      1. 3.1. Generic Parameters
        1. 3.1.1. Parameter T1
        2. 3.1.2. Parameter T2
      2. 3.2. Parameters
      3. 3.3. Returns
    4. 4. From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, object state, Result result)
      1. 4.1. Generic Parameters
        1. 4.1.1. Parameter T1
        2. 4.1.2. Parameter T2
        3. 4.1.3. Parameter T3
      2. 4.2. Parameters
      3. 4.3. Returns
    5. 5. From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result result)
      1. 5.1. Generic Parameters
        1. 5.1.1. Parameter T1
        2. 5.1.2. Parameter T2
        3. 5.1.3. Parameter T3
        4. 5.1.4. Parameter T4
      2. 5.2. Parameters
      3. 5.3. Returns
    6. 6. From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result result)
      1. 6.1. Generic Parameters
        1. 6.1.1. Parameter T1
        2. 6.1.2. Parameter T2
        3. 6.1.3. Parameter T3
        4. 6.1.4. Parameter T4
        5. 6.1.5. Parameter T5
      2. 6.2. Parameters
      3. 6.3. Returns
    7. 7. From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result result)
      1. 7.1. Generic Parameters
        1. 7.1.1. Parameter T1
        2. 7.1.2. Parameter T2
        3. 7.1.3. Parameter T3
        4. 7.1.4. Parameter T4
        5. 7.1.5. Parameter T5
        6. 7.1.6. Parameter T6
      2. 7.2. Parameters
      3. 7.3. Returns
    8. 8. From(Func<AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, object state, Result<T> result)
      1. 8.1. Generic Parameters
        1. 8.1.1. Parameter T
      2. 8.2. Parameters
      3. 8.3. Returns
    9. 9. From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, object state, Result<T> result)
      1. 9.1. Generic Parameters
        1. 9.1.1. Parameter T
        2. 9.1.2. Parameter T1
      2. 9.2. Parameters
      3. 9.3. Returns
    10. 10. From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, object state, Result<T> result)
      1. 10.1. Generic Parameters
        1. 10.1.1. Parameter T
        2. 10.1.2. Parameter T1
        3. 10.1.3. Parameter T2
      2. 10.2. Parameters
      3. 10.3. Returns
    11. 11. From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, object state, Result<T> result)
      1. 11.1. Generic Parameters
        1. 11.1.1. Parameter T
        2. 11.1.2. Parameter T1
        3. 11.1.3. Parameter T2
        4. 11.1.4. Parameter T3
      2. 11.2. Parameters
      3. 11.3. Returns
    12. 12. From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result<T> result)
      1. 12.1. Generic Parameters
        1. 12.1.1. Parameter T
        2. 12.1.2. Parameter T1
        3. 12.1.3. Parameter T2
        4. 12.1.4. Parameter T3
        5. 12.1.5. Parameter T4
      2. 12.2. Parameters
      3. 12.3. Returns
    13. 13. From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result<T> result)
      1. 13.1. Generic Parameters
        1. 13.1.1. Parameter T
        2. 13.1.2. Parameter T1
        3. 13.1.3. Parameter T2
        4. 13.1.4. Parameter T3
        5. 13.1.5. Parameter T4
        6. 13.1.6. Parameter T5
      2. 13.2. Parameters
      3. 13.3. Returns
    14. 14. From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result<T> result)
      1. 14.1. Generic Parameters
        1. 14.1.1. Parameter T
        2. 14.1.2. Parameter T1
        3. 14.1.3. Parameter T2
        4. 14.1.4. Parameter T3
        5. 14.1.5. Parameter T4
        6. 14.1.6. Parameter T5
        7. 14.1.7. Parameter T6
      2. 14.2. Parameters
      3. 14.3. Returns

    From(Func<AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, object state, Result result)

    public static Result From(Func<AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Parameters

    Name Type Description
    begin Func<AsyncCallback,object,IAsyncResult> Lambda wrapping a no-arg async call.
    end Action<IAsyncResult> Action to execute on async completion.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, object state, Result result)

    public static Result From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,AsyncCallback,object,IAsyncResult> Lambda wrapping a single argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 Asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, object state, Result result)

    public static Result From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,AsyncCallback,object,IAsyncResult> Lambda wrapping a 2 argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, object state, Result result)

    public static Result From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> Lambda wrapping a 3 argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result result)

    public static Result From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> Lambda wrapping a 4 argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result result)

    public static Result From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameter T5

    Type of fifth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> Lambda wrapping a 5 argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    item5 T5 Fifth asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result result)

    public static Result From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Action<IAsyncResult> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameter T5

    Type of fifth asynchronous method argument.
    Constraints:
    none

    Parameter T6

    Type of sixth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> Lambda wrapping a 6 argument async call.
    end Action<IAsyncResult> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    item5 T5 Fifth asynchronous method argument.
    item6 T6 Sixth asynchronous method argument.
    state object State object
    result Result The MindTouch.Tasking.Resultinstance to be returned by this method.

    Returns

    Type: Result
    Synchronization handle.

    From(Func<AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, object state, Result<T> result)

    public static Result<T> From(Func<AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<AsyncCallback,object,IAsyncResult> Lambda wrapping a no argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, object state, Result<T> result)

    public static Result<T> From(Func<T1,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,AsyncCallback,object,IAsyncResult> Lambda wrapping a single argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 Asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, object state, Result<T> result)

    public static Result<T> From(Func<T1,T2,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,AsyncCallback,object,IAsyncResult> Lambda wrapping a 2 argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, object state, Result<T> result)

    public static Result<T> From(Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,AsyncCallback,object,IAsyncResult> Lambda wrapping a 3 argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result<T> result)

    public static Result<T> From(Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,AsyncCallback,object,IAsyncResult> Lambda wrapping a 4 argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result<T> result)

    public static Result<T> From(Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameter T5

    Type of fifth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,T5,AsyncCallback,object,IAsyncResult> Lambda wrapping a 5 argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    item5 T5 Fifth asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.

    From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result<T> result)

    public static Result<T> From(Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> begin, Func<IAsyncResult,T> end, T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, object state, Result<T> result);
    Convert an asynchronous call using the System.AsyncCallback pattern into one using a MindTouch.Tasking.Result synchronization handle.

    Generic Parameters

    Parameter T

    Type of the asynchronous method return value.
    Constraints:
    none

    Parameter T1

    Type of first asynchronous method argument.
    Constraints:
    none

    Parameter T2

    Type of second asynchronous method argument.
    Constraints:
    none

    Parameter T3

    Type of third asynchronous method argument.
    Constraints:
    none

    Parameter T4

    Type of fourth asynchronous method argument.
    Constraints:
    none

    Parameter T5

    Type of fifth asynchronous method argument.
    Constraints:
    none

    Parameter T6

    Type of sixth asynchronous method argument.
    Constraints:
    none

    Parameters

    Name Type Description
    begin Func<T1,T2,T3,T4,T5,T6,AsyncCallback,object,IAsyncResult> Lambda wrapping a 6 argument async call.
    end Func<IAsyncResult,T> Action to execute on async completion.
    item1 T1 First asynchronous method argument.
    item2 T2 Second asynchronous method argument.
    item3 T3 Third asynchronous method argument.
    item4 T4 Fourth asynchronous method argument.
    item5 T5 Fifth asynchronous method argument.
    item6 T6 Sixth asynchronous method argument.
    state object State object
    result Result<T> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Type: Result<T>
    Synchronization handle providing result value T.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by