IVsSolutionLoadManager.OnDisconnect Method
Called when VSPROPID_ActiveSolutionLoadManager is cleared.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function OnDisconnect As Integer
int OnDisconnect()
int OnDisconnect()
abstract OnDisconnect : unit -> int
function OnDisconnect() : int
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Normally a disconnect happens only on shutdown or when another package calls IVsSolution.SetProperty(VSPROPID_ActiveSolutionLoadManager) to take over as the active solution load manager.
.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.