Udostępnij za pośrednictwem


Metoda IVsSolutionEvents.OnBeforeCloseSolution — (Object)

 

Powiadamia nasłuchiwania klientów, że rozwiązanie jest zostanie 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
    Type: System.Object

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

Wartość zwracana

Type: System.Int32

Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell.idl:

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

Zobacz też

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

Powrót do początku