IVsWCFReferenceManager.UnadviseWCFReferenceEvents Method
Cancels registration for Windows Communication Foundation (WCF) service reference event notification.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Déclaration
Sub UnadviseWCFReferenceEvents ( _
cookie As UInteger _
)
void UnadviseWCFReferenceEvents(
uint cookie
)
void UnadviseWCFReferenceEvents(
[InAttribute] unsigned int cookie
)
abstract UnadviseWCFReferenceEvents :
cookie:uint32 -> unit
function UnadviseWCFReferenceEvents(
cookie : uint
)
Parameters
- cookie
Type: System.UInt32
A token representing the registration to be canceled.
Remarks
The token specified in Cookie is returned by AdviseWCFReferenceEvents when the registration is initiated.
.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.