public CimOperationOptions(bool mustUnderstand) { this._operationCallback = new OperationCallbacks(); this._writeMessageCallback = null; this._writeProgressCallback = null; this._writeErrorCallback = null; this._promptUserCallback = null; }
public CimOperationOptions(CimOperationOptions optionsToClone) { if (optionsToClone == null) { throw new ArgumentNullException("optionsToClone"); } this._operationCallback = optionsToClone.GetOperationCallbacks(); this._writeMessageCallback = optionsToClone._writeMessageCallback; this._writeProgressCallback = optionsToClone._writeProgressCallback; this._writeErrorCallback = optionsToClone._writeErrorCallback; this._promptUserCallback = optionsToClone._promptUserCallback; }