IVsWCFReferenceManager.AdviseWCFReferenceEvents Method

Definition

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

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

Parameters

pSink
IVsWCFReferenceEvents

Reference that provides notifications of WCF service reference events.

pCookie
UInt32

A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseWCFReferenceEvents method.

Applies to