Udostępnij za pośrednictwem


Metoda IVsSolutionEvents3.OnBeforeCloseSolution — (Object)

 

Powiadamia nasłuchiwania klientów, że roztwór około jest zamknięty.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)

Składnia

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

Parametry

  • pUnkReserved
    [w] Zarezerwowane do użytku w przyszłości.

Wartość zwracana

Type: System.Int32

Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.

Implementuje

IVsSolutionEvents2.OnBeforeCloseSolution(Object)

Uwagi

Podpis COM

Z vsshell.idl:

HRESULT IVsSolutionEvents3::OnBeforeCloseSolution(
   [in] IUnknown *pUnkReserved
);

Zobacz też

Interfejs IVsSolutionEvents3
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku