Share via


IVsWCFMetadataStorage.AdviseWCFMetadataStorageEvents Method

Registers the caller for metadata storage event notification.

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

Syntax

'Declaration
Sub AdviseWCFMetadataStorageEvents ( _
    pSink As IVsWCFMetadataStorageEvents, _
    <OutAttribute> ByRef pdwCookie As UInteger _
)
void AdviseWCFMetadataStorageEvents(
    IVsWCFMetadataStorageEvents pSink,
    out uint pdwCookie
)
void AdviseWCFMetadataStorageEvents(
    [InAttribute] IVsWCFMetadataStorageEvents^ pSink, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseWCFMetadataStorageEvents : 
        pSink:IVsWCFMetadataStorageEvents * 
        pdwCookie:uint32 byref -> unit
function AdviseWCFMetadataStorageEvents(
    pSink : IVsWCFMetadataStorageEvents, 
    pdwCookie : uint
)

Parameters

  • pdwCookie
    Type: System.UInt32%

    A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseWCFMetadataStorageEvents method.

.NET Framework Security

See Also

Reference

IVsWCFMetadataStorage Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace