注册元数据存储事件通知的调用方。
命名空间: 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
)
参数
pSink
类型:Microsoft.VisualStudio.WCFReference.Interop.IVsWCFMetadataStorageEvents引用提供元数据存储事件的通知。
pdwCookie
类型:UInt32%表示已注册的标记。
备注
若要取消事件通知,请调用 UnadviseWCFMetadataStorageEvents 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。