Share via


IDebugPortSupplier3::CanPersistPorts

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method determines whether the port supplier can persist ports (by writing them to disk) between invocations of the debugger.

Syntax

HRESULT CanPersistPorts();
int CanPersistPorts();

Parameters

None.

Return Value

S_OK if ports can be persisted, or S_FALSE to indicate that ports cannot be persisted.

Remarks

If the port supplier can persist ports, it should do so when it is destroyed and then reload them when it is instantiated once again.

See also