ObserverManager<TIdentity,TObserver>.Subscribe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.