WinUI | ComponentOne
WinUI | ComponentOne
C1.WinUI.Viewer Assembly
/
C1.WinUI.Viewer Namespace
/
FlexViewer Class
/ HandleSuspending Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
HandleSuspending Method
In This Topic
Call this method from a handler of the Application.Suspending event.
Syntax
C#
public
void
HandleSuspending(
bool
discardDeviceResources
)
Parameters
discardDeviceResources
Remarks
If you pass True to the discardDeviceResources parameter you should also call HandleResuming(true) from a handler of the Application.Resuming event. It allows to free unnecessary DirectX resources while the application is in Suspended state.
See Also
Reference
FlexViewer Class
FlexViewer Members