private void ExcelResetConnection()

in MiddlemanElectronSampleApp/AppServiceHost/AppServiceUWP/App.xaml.cs [205:218]


        private void ExcelResetConnection()
        {
            if (_excelConnection != null)
            {
                if (_excelAppServiceDeferral != null)
                {
                    _excelAppServiceDeferral.Complete();
                    _excelAppServiceDeferral = null;
                }
                _excelConnection.Dispose();
                _excelConnection = null;
            }
            SendStatusAsync();
        }