OnBeforeCloseSolution Method
The document is archived and information here might be outdated

IVsSolutionEvents.OnBeforeCloseSolution Method

Notifies listening clients that the solution is about to be closed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

function OnBeforeCloseSolution(
	pUnkReserved : Object
) : int

Parameters

pUnkReserved
Type: System.Object

[in] Reserved for future use.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

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

Show:
© 2016 Microsoft