Skip to main content

Component Plug-In SDK 2026 R1

Method TrySaveAsync

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Views
Assembly: Phoenix.ComponentPlugInSDK.dll

TrySaveAsync()

Request that window be saved. If there are no unsaved changes, this function can simply do nothing and return true. If there are unsaved changes, the user should be presented with Yes/No/Cancel options.

Task<bool> TrySaveAsync()

Returns

Task<bool>

A task that returns true if the user explicity did or did not save, false if it was canceled

Connect with Ansys