Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Function OnBeforeCloseSolution ( _
pUnkReserved As Object _
) As Integer
int OnBeforeCloseSolution(
Object pUnkReserved
)
int OnBeforeCloseSolution(
[InAttribute] Object^ pUnkReserved
)
abstract OnBeforeCloseSolution :
pUnkReserved:Object -> int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolutionEvents::OnBeforeCloseSolution(
[in] IUnknown *pUnkReserved
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.