IVsWCFMetadataStorage.AdviseWCFMetadataStorageEvents 方法

注册元数据存储事件通知的调用方。

命名空间:  Microsoft.VisualStudio.WCFReference.Interop
程序集:  Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

语法

声明
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
)

参数

  • pdwCookie
    类型:UInt32%

    表示已注册的标记。

备注

若要取消事件通知,请调用 UnadviseWCFMetadataStorageEvents 方法。

.NET Framework 安全性

请参阅

参考

IVsWCFMetadataStorage 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间