Parameters
- option
- A CloseOption enum value that specifies how to handle the Save action when closing the view. You can specify CloseAlwaysSave to save the session configuration before closing or CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.
Return Value
ReturnCode value indicates success or error conditions.