次の方法で共有


IVsServiceReferenceMetadataStorage.AdviseServiceReferenceMetadataStorageEvents 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

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

Parameters

  • pdwCookie
    Type: UInt32%
    A token representing the completed registration.

Remarks

To cancel event notification, call the UnadviseServiceReferenceMetadataStorageEvents method.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorage Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace