public void Dispose() { try { if (_elasticStorageDrive != null) { DiagnosticsHelper.TraceInformation("Unmount called on data drive"); _elasticStorageDrive.Unmount(); } DiagnosticsHelper.TraceInformation("Unmount completed on data drive"); } catch (Exception e) { //Ignore any and all exceptions here DiagnosticsHelper.TraceWarning( "Exception in onstop - unmount failed with {0} {1}", e.Message, e.StackTrace); } }