public void Add(string path) { if (string.IsNullOrEmpty(path)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(Error.ArgumentNull("path")); } if (this.Count == 0) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(Error.InvalidOperation(SR.LogStore_SizeRequired)); } UnsafeNativeMethods.AddLogContainerNoSizeSync( this.store.Handle, path); this.version++; }