Qbservable

Qbservable.Retry<TSource> Method (IQbservable<TSource>)

Repeats the source queryable observable sequence until it successfully terminates.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Retry(Of TSource) ( _
    source As IQbservable(Of TSource) _
) As IQbservable(Of TSource)
'Usage
Dim source As IQbservable(Of TSource)
Dim returnValue As IQbservable(Of TSource)

returnValue = source.Retry()
public static IQbservable<TSource> Retry<TSource>(
    this IQbservable<TSource> source
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ Retry(
    IQbservable<TSource>^ source
)
static member Retry : 
        source:IQbservable<'TSource> -> IQbservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence producing the elements of the given sequence repeatedly until it terminates successfully.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Retry Overload

System.Reactive.Linq Namespace

Qbservable.Retry<TSource> Method (IQbservable<TSource>, Int32)

Repeats the source queryable observable sequence until it successfully terminates.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Retry(Of TSource) ( _
    source As IQbservable(Of TSource), _
    retryCount As Integer _
) As IQbservable(Of TSource)
'Usage
Dim source As IQbservable(Of TSource)
Dim retryCount As Integer
Dim returnValue As IQbservable(Of TSource)

returnValue = source.Retry(retryCount)
public static IQbservable<TSource> Retry<TSource>(
    this IQbservable<TSource> source,
    int retryCount
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ Retry(
    IQbservable<TSource>^ source, 
    int retryCount
)
static member Retry : 
        source:IQbservable<'TSource> * 
        retryCount:int -> IQbservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence producing the elements of the given sequence repeatedly until it terminates successfully.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Retry Overload

System.Reactive.Linq Namespace