Share via


IVsServiceReferenceMetadataStorageProvider.AdviseMetadataStorageProviderEvents Method

Definition

Registers the caller for metadata storage provider event notification.

public:
 void AdviseMetadataStorageProviderEvents(Microsoft::VisualStudio::WCFReference::Interop::IVsServiceReferenceMetadataStorageProviderEvents ^ pSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
void AdviseMetadataStorageProviderEvents(Microsoft::VisualStudio::WCFReference::Interop::IVsServiceReferenceMetadataStorageProviderEvents const & pSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public void AdviseMetadataStorageProviderEvents (Microsoft.VisualStudio.WCFReference.Interop.IVsServiceReferenceMetadataStorageProviderEvents pSink, out uint pdwCookie);
abstract member AdviseMetadataStorageProviderEvents : Microsoft.VisualStudio.WCFReference.Interop.IVsServiceReferenceMetadataStorageProviderEvents * uint32 -> unit
Public Sub AdviseMetadataStorageProviderEvents (pSink As IVsServiceReferenceMetadataStorageProviderEvents, ByRef pdwCookie As UInteger)

Parameters

pSink
IVsServiceReferenceMetadataStorageProviderEvents

Reference that provides notifications of metadata storage events.

pdwCookie
UInt32

A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseMetadataStorageProviderEvents method.

Applies to