public override void Flush() { if (comStream != null) { try { comStream.Commit(StreamConsts.STGC_DEFAULT); } catch { } } }
public override void Flush() { ThreadHelper.ThrowIfNotOnUIThread(); if (comStream != null) { try { comStream.Commit(StreamConsts.STGC_DEFAULT); } catch { } } }