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