Aracılığıyla paylaş


IVsSolutionEvents.OnBeforeCloseSolution Yöntem (Object)

 

Dinleme istemcileri çözüm Kapatılmak üzere olduğunu bildirir.

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

Sözdizimi

int OnBeforeCloseSolution(
    object pUnkReserved
)
int OnBeforeCloseSolution(
    Object^ pUnkReserved
)
abstract OnBeforeCloseSolution : 
        pUnkReserved:Object -> int
Function OnBeforeCloseSolution (
    pUnkReserved As Object
) As Integer

Parametreler

  • pUnkReserved
    Type: System.Object

    [in] Gelecekte kullanılmak üzere ayrılmış.

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 IVsSolutionEvents::OnBeforeCloseSolution(
   [in] IUnknown *pUnkReserved
);

Ayrıca bkz.

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

Başa dön