IVsWCFReferenceManager::AdviseWCFReferenceEvents Method (IVsWCFReferenceEvents^, UInt32)

 

Registers the caller for Windows Communication Foundation (WCF) service event notification.

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void AdviseWCFReferenceEvents(
	IVsWCFReferenceEvents^ pSink,
	[OutAttribute] unsigned int% pCookie
)

Parameters

pSink
Type: Microsoft.VisualStudio.WCFReference.Interop::IVsWCFReferenceEvents^

Reference that provides notifications of WCF service reference events.

pCookie
Type: System::UInt32

A token representing the completed registration.

To cancel event notification, call the UnadviseWCFReferenceEvents method.

Return to top
Show: