Subject.Synchronize < TSource, TResult > 方法 (ISubject < TSource, TResult >)
同步處理主旨上的訊息。
Namespace:System.Reactive.Subjects
裝配: System.Reactive.dll) 中的 System.Reactive (
Syntax
'Declaration
Public Shared Function Synchronize(Of TSource, TResult) ( _
subject As ISubject(Of TSource, TResult) _
) As ISubject(Of TSource, TResult)
'Usage
Dim subject As ISubject(Of TSource, TResult)
Dim returnValue As ISubject(Of TSource, TResult)
returnValue = Subject.Synchronize(subject)
public static ISubject<TSource, TResult> Synchronize<TSource, TResult>(
ISubject<TSource, TResult> subject
)
public:
generic<typename TSource, typename TResult>
static ISubject<TSource, TResult>^ Synchronize(
ISubject<TSource, TResult>^ subject
)
static member Synchronize :
subject:ISubject<'TSource, 'TResult> -> ISubject<'TSource, 'TResult>
JScript does not support generic types and methods.
類型參數
- TSource
類型來源。
- TResult
結果的類型。
參數
- subject
類型:System.Reactive.Subjects.ISubject< TSource、 TResult>
要同步處理的主體。
傳回值
類型:System.Reactive.Subjects.ISubject< TSource、 TResult>
同步處理訊息的主旨。