void CommonInitialize(bool writeOnly) { if (!ThreadPool.BindHandle(this.logFile)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError( new IOException(SR.GetString(SR.IO_BindFailed))); } this.logManagement = new LogManagementAsyncResult(this); if (!writeOnly) { CLFS_INFORMATION info; GetLogFileInformation(out info); this.archivable = ((info.Attributes & Const.FILE_ATTRIBUTE_ARCHIVE) != 0); this.extents = new LogExtentCollection(this); this.logPolicy = new LogPolicy(this); } }