WinUI | ComponentOne
C1.WinUI.Viewer Assembly / C1.WinUI.Viewer Namespace / FlexViewer Class / HandleSuspending Method
In This Topic
    HandleSuspending Method
    In This Topic
    Call this method from a handler of the Application.Suspending event.
    Syntax
    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