共用方式為


Observer.Synchronize < T > 方法 (IObserver < T > ,物件)

Namespace:System.Reactive
裝配: System.Reactive.dll) 中的 System.Reactive (

Syntax

'Declaration
Public Shared Function Synchronize(Of T) ( _
    observer As IObserver(Of T), _
    gate As Object _
) As IObserver(Of T)
'Usage
Dim observer As IObserver(Of T)
Dim gate As Object
Dim returnValue As IObserver(Of T)

returnValue = Observer.Synchronize(observer, _
    gate)
public static IObserver<T> Synchronize<T>(
    IObserver<T> observer,
    Object gate
)
public:
generic<typename T>
static IObserver<T>^ Synchronize(
    IObserver<T>^ observer, 
    Object^ gate
)
static member Synchronize : 
        observer:IObserver<'T> * 
        gate:Object -> IObserver<'T> 
JScript does not support generic types and methods.

類型參數

  • T

參數

傳回值

類型:System.IObserver< T>

另請參閱

參考

Observer 類別

同步處理多載

System.Reactive 命名空間