Partager via


IVsWCFMetadataStorageProvider.AdviseWCFMetadataStorageProviderEvents Method

Registers the caller for metadata storage provider event notification.

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

Syntax

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

Parameters

  • pdwCookie
    Type: System.UInt32%

    A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseWCFMetadataStorageProviderEvents method.

.NET Framework Security

See Also

Reference

IVsWCFMetadataStorageProvider Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace