/// <include file='doc\CRM.uex' path='docs/doc[@for="Clerk.WriteLogRecord"]/*' /> public void WriteLogRecord(Object record) { // Serialize the current log record, the write it to the // actual object. DBG.Info(DBG.CRM, "Clerk.WriteLogRecord: Serializing log record"); byte[] buf = Packager.Serialize(record); DBG.Info(DBG.CRM, "Clerk.WriteLogRecord: Writing log record: size = " + buf.Length); _control.WriteLogRecord(buf); DBG.Info(DBG.CRM, "Clerk.WriteLogRecord: Done"); }
public void WriteLogRecord(object record) { byte[] b = Packager.Serialize(record); this._control.WriteLogRecord(b); }