,System.Func{System.IAsyncResult,--0})} ,System.Func{System.IAsyncResult,--1})} ,System.Func{System.IAsyncResult,--2})} ,System.Func{System.IAsyncResult,--3})} ,System.Func{System.IAsyncResult,--4})} ,System.Func{System.IAsyncResult,--5})} ,System.Func{System.IAsyncResult,--6})} ,System.Func{System.IAsyncResult,--7})} ,System.Func{System.IAsyncResult,--8})} ,System.Func{System.IAsyncResult,--9})} ,System.Func{System.IAsyncResult,--10})} ,System.Func{System.IAsyncResult,--11})} ,System.Func{System.IAsyncResult,--12})} ,System.Func{System.IAsyncResult,--13})} ,System.Func{System.IAsyncResult,--14})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})} ,System.Action{System.IAsyncResult})}
Observable.FromAsyncPattern(Func, Func) method¶
Defined in
Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public static Func<IObservable<TResult>> FromAsyncPattern<TResult>(Func<AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 2.
public static Func<TArg1, IObservable<TResult>> FromAsyncPattern<TArg1, TResult>(Func<TArg1, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 3.
public static Func<TArg1, TArg2, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 4.
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TResult>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 5.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TResult>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 6.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 7.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 8.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 9.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 10.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 11.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 12.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 13.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 14.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 15.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end) - 16.
public static Func<IObservable<Unit>> FromAsyncPattern(Func<AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 17.
public static Func<TArg1, IObservable<Unit>> FromAsyncPattern<TArg1>(Func<TArg1, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 18.
public static Func<TArg1, TArg2, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 19.
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 20.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 21.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 22.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 23.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 24.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 25.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 26.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 27.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 28.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 29.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end) - 30.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
1. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<IObservable<TResult>> FromAsyncPattern<TResult>(Func<AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
2. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, IObservable<TResult>> FromAsyncPattern<TArg1, TResult>(Func<TArg1, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
3. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
4. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TResult>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
5. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TResult>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
6. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
7. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
8. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
9. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
10. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
11. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
12. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
13. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
14. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
TArg13 | The type of the thirteenth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
15. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object?, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
TArg13 | The type of the thirteenth argument passed to the begin delegate. |
TArg14 | The type of the fourteenth argument passed to the begin delegate. |
TResult | The type of the result returned by the end delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Func | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
16. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<IObservable<Unit>> FromAsyncPattern(Func<AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
17. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, IObservable<Unit>> FromAsyncPattern<TArg1>(Func<TArg1, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
18. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
19. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
20. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
21. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
22. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
23. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
24. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
25. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
26. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
27. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
28. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
29. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
TArg13 | The type of the thirteenth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |
30. Overload¶
Deprecated
This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.
Attributes: [Obsolete("This conversion is no longer supported. Replace use of the Begin/End asynchronous method pair with a new Task-based async method, and convert the result using ToObservable. If no Task-based async method is available, use Task.Factory.FromAsync to obtain a Task object.")]
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object?, IAsyncResult> begin, Action<IAsyncResult> end)
Summary: Converts a Begin/End invoke function pair into an asynchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the begin delegate. |
TArg2 | The type of the second argument passed to the begin delegate. |
TArg3 | The type of the third argument passed to the begin delegate. |
TArg4 | The type of the fourth argument passed to the begin delegate. |
TArg5 | The type of the fifth argument passed to the begin delegate. |
TArg6 | The type of the sixth argument passed to the begin delegate. |
TArg7 | The type of the seventh argument passed to the begin delegate. |
TArg8 | The type of the eighth argument passed to the begin delegate. |
TArg9 | The type of the ninth argument passed to the begin delegate. |
TArg10 | The type of the tenth argument passed to the begin delegate. |
TArg11 | The type of the eleventh argument passed to the begin delegate. |
TArg12 | The type of the twelfth argument passed to the begin delegate. |
TArg13 | The type of the thirteenth argument passed to the begin delegate. |
TArg14 | The type of the fourteenth argument passed to the begin delegate. |
Parameters
| Name | Type | Description |
|---|---|---|
begin | Func | The delegate that begins the asynchronous operation. |
end | Action | The delegate that ends the asynchronous operation. |
Returns: Func
Remarks
Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | begin or end is null. |