Aracılığıyla paylaş


IVsSolutionBuildManager.AdviseUpdateSolutionEvents Yöntem (IVsUpdateSolutionEvents, UInt32)

 

Arayan için dinleyicileri listesine ekler IVsUpdateSolutionEvents olaylar.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int AdviseUpdateSolutionEvents(
    IVsUpdateSolutionEvents pIVsUpdateSolutionEvents,
    out uint pdwCookie
)
int AdviseUpdateSolutionEvents(
    IVsUpdateSolutionEvents^ pIVsUpdateSolutionEvents,
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseUpdateSolutionEvents : 
        pIVsUpdateSolutionEvents:IVsUpdateSolutionEvents *
        pdwCookie:uint32 byref -> int
Function AdviseUpdateSolutionEvents (
    pIVsUpdateSolutionEvents As IVsUpdateSolutionEvents,
    <OutAttribute> ByRef pdwCookie As UInteger
) As Integer

Parametreler

  • pdwCookie
    Type: System.UInt32

    [out] Tanımlama bilgisi içeren bir çift sözcük işaretçisi.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

COM imza

Vsshell.idl:

HRESULT IVsSolutionBuildManager::AdviseUpdateSolutionEvents(
   [in] IVsUpdateSolutionEvents *pIVsUpdateSolutionEvents,
   [out] VSCOOKIE *pdwCookie
);

Bu çözüm yapı olayları kümesi için dinlenecek arayan Yöneticisi sağlar gelen tetikler IVsUpdateSolutionEvents. Bu arabirim, çözüm ve proje oluşturma için olayları içerir.

Bu yöntem çağrılır, olayları nesneniz bir işaretçi geçirin ve bir tanımlama bilgisi sağlanır, için sonra geçirilebilir UnadviseUpdateSolutionEvents dinleyecek şekilde yöntemi.

Ayrıca bkz.

IVsSolutionBuildManager Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön