Compartilhar via


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

See Also

Reference

IVsSolutionLoadManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace