Share via


ReactiveTest.Subscribe Method (Int64, Int64)

Factory method for a recorded subscription.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
Public Shared Function Subscribe ( _
    start As Long, _
    end As Long _
) As Subscription
'Usage
Dim start As Long
Dim end As Long
Dim returnValue As Subscription

returnValue = ReactiveTest.Subscribe(start, _
    end)
public static Subscription Subscribe(
    long start,
    long end
)
public:
static Subscription Subscribe(
    long long start, 
    long long end
)
static member Subscribe : 
        start:int64 * 
        end:int64 -> Subscription 
public static function Subscribe(
    start : long, 
    end : long
) : Subscription

Parameters

  • start
    Type: System.Int64
    The virtual time indicating when the subscription was created.
  • end
    Type: System.Int64
    The virtual time indicating when the subscription was disposed.

Return Value

Type: Microsoft.Reactive.Testing.Subscription
The subscription object.

See Also

Reference

ReactiveTest Class

Subscribe Overload

Microsoft.Reactive.Testing Namespace