public void SetSource(byte[] source) { int hr; COMException Exception; hr = SymDocumentWriter_SetSource(m_DocumentWriter, source.Length, source); if (hr < 0) { Exception = new COMException("Call to SetSource failed.", hr); throw Exception; } }