internal CompressedStream(XmlaStream xmlaStream, int compressionLevel) { try { this.baseXmlaStream = xmlaStream; this.compressionLevel = compressionLevel; } catch (Win32Exception innerException) { throw new XmlaStreamException(innerException); } }
public virtual void SetBaseXmlaStream(XmlaStream xmlaStream) { try { if (this.baseXmlaStream != xmlaStream) { if (this.baseXmlaStream != null) { this.baseXmlaStream.Dispose(); } this.baseXmlaStream = xmlaStream; } } catch (Win32Exception innerException) { throw new XmlaStreamException(innerException); } }