public void Close() { int hr; COMException Exception; hr = SymWriter_Close(m_Writer); if (hr < 0) { Exception = new COMException("Call to Close failed.", hr); throw Exception; } }