Partager via


Subject.Synchronize<TSource, TResult> , méthode (ISubject<TSource, TResult>)

Synchronise les messages sur l’objet.

Namespace:System.Reactive.Subjects
Assemblée: System.Reactive (en System.Reactive.dll)

Syntaxe

'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.

Paramètres de type

  • TSource
    Source de type.
  • TResult
    Type de résultat.

Paramètres

Valeur de retour

Type : System.Reactive.Subjects.ISubject<TSource, TResult>
Objet dont les messages sont synchronisés.

Voir aussi

Référence

Subject, classe

Synchroniser la surcharge

Espace de noms System.Reactive.Subjects