Share via


IVsServiceReferenceMetadataStorage.AdviseServiceReferenceMetadataStorageEvents Method

Definition

Registers the caller for metadata storage event notification.

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

Parameters

pSink
IVsServiceReferenceMetadataStorageEvents

Reference that provides notifications of metadata storage events.

pdwCookie
UInt32

A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseServiceReferenceMetadataStorageEvents method.

Applies to