Edit

Share via


ObserverManager<TIdentity,TObserver>.Subscribe Method

Definition

Ensures that the provided observer is subscribed, renewing its subscription.

public void Subscribe (TIdentity id, TObserver observer);
member this.Subscribe : 'Identity * 'Observer -> unit
Public Sub Subscribe (id As TIdentity, observer As TObserver)

Parameters

id
TIdentity

The observer's identity.

observer
TObserver

The observer.

Exceptions

A delegate callback throws an exception.

Applies to