Share via


Extensions.EnsureTrampoline Method

Namespace:  ReactiveTests
Assembly:  Tests.System.Reactive (in Tests.System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub EnsureTrampoline ( _
    scheduler As CurrentThreadScheduler, _
    action As Action _
)
'Usage
Dim scheduler As CurrentThreadScheduler
Dim action As Action

scheduler.EnsureTrampoline(action)
public static void EnsureTrampoline(
    this CurrentThreadScheduler scheduler,
    Action action
)
[ExtensionAttribute]
public:
static void EnsureTrampoline(
    CurrentThreadScheduler^ scheduler, 
    Action^ action
)
static member EnsureTrampoline : 
        scheduler:CurrentThreadScheduler * 
        action:Action -> unit 
public static function EnsureTrampoline(
    scheduler : CurrentThreadScheduler, 
    action : Action
)

Parameters

Usage Note

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

See Also

Reference

Extensions Class

ReactiveTests Namespace