Share via


IVsWCFMetadataStorageProvider.AdviseWCFMetadataStorageProviderEvents Method

Definition

Registers the caller for metadata storage provider event notification.

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

Parameters

pSink
IVsWCFMetadataStorageProviderEvents

Reference that provides notifications of metadata storage events.

pdwCookie
UInt32

A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseWCFMetadataStorageProviderEvents method.

Applies to