Metoda IVsSolutionEvents2.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
IVsSolutionEvents.OnBeforeCloseSolution(Object)
Uwagi
Podpis COM
Z vsshell.idl:
HRESULT IVsSolutionEvents2::OnBeforeCloseSolution(
[in] IUnknown *pUnkReserved
);
Zobacz też
Interfejs IVsSolutionEvents2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku