Freigeben über


IQueryDataSourceVersionProvider.SubscribeChangeNotifications Method

Definition

Notifies the provider that an observer is to receive notifications.

public IDisposable SubscribeChangeNotifications (IObserver<Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryDataSourceChangeNotification> observer);
abstract member SubscribeChangeNotifications : IObserver<Microsoft.VisualStudio.ProjectSystem.Query.Providers.QueryDataSourceChangeNotification> -> IDisposable
Public Function SubscribeChangeNotifications (observer As IObserver(Of QueryDataSourceChangeNotification)) As IDisposable

Parameters

observer
IObserver<QueryDataSourceChangeNotification>

The object that is to receive notifications.

Returns

A reference to an interface that allows observers to stop receiving notifications.

Applies to