/// <summary> /// 释放当前对象,使用完成注意调用此方法s /// </summary> public void Dispose() { lock (this) { if (!mIsDisposed) { mIsDisposed = true; if (!IsInvokeError) { if (Pool != null && !Pool.IsDisplsed) { Pool.Push(this); } else { Pool = null; } } else { Pool = null; try { CObject.Close(); } catch { } } } } }