Share via


IVsServiceReferenceMetadataStorageProvider.AdviseMetadataStorageProviderEvents 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 AdviseMetadataStorageProviderEvents ( _
    pSink As IVsServiceReferenceMetadataStorageProviderEvents, _
    <OutAttribute> ByRef pdwCookie As UInteger _
)
void AdviseMetadataStorageProviderEvents(
    IVsServiceReferenceMetadataStorageProviderEvents pSink,
    out uint pdwCookie
)
void AdviseMetadataStorageProviderEvents(
    [InAttribute] IVsServiceReferenceMetadataStorageProviderEvents^ pSink, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseMetadataStorageProviderEvents : 
        pSink:IVsServiceReferenceMetadataStorageProviderEvents * 
        pdwCookie:uint32 byref -> unit
function AdviseMetadataStorageProviderEvents(
    pSink : IVsServiceReferenceMetadataStorageProviderEvents, 
    pdwCookie : uint
)

Parameters

  • pdwCookie
    Type: UInt32%

    A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseMetadataStorageProviderEvents method.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorageProvider Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace