IVsWCFReferenceManager.AdviseWCFReferenceEvents Method
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)
Syntax
'Dichiarazione
Sub AdviseWCFReferenceEvents ( _
pSink As IVsWCFReferenceEvents, _
<OutAttribute> ByRef pCookie As UInteger _
)
void AdviseWCFReferenceEvents(
IVsWCFReferenceEvents pSink,
out uint pCookie
)
void AdviseWCFReferenceEvents(
[InAttribute] IVsWCFReferenceEvents^ pSink,
[OutAttribute] unsigned int% pCookie
)
abstract AdviseWCFReferenceEvents :
pSink:IVsWCFReferenceEvents *
pCookie:uint32 byref -> unit
function AdviseWCFReferenceEvents(
pSink : IVsWCFReferenceEvents,
pCookie : uint
)
Parameters
- pSink
Type: Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceEvents
Reference that provides notifications of WCF service reference events.
- pCookie
Type: UInt32%
A token representing the completed registration.
Remarks
To cancel event notification, call the UnadviseWCFReferenceEvents method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.