/// <summary> /// Initializes a new instance of the <see cref="EmployeeMergeException"/> class. /// </summary> /// <param name="info">The object that holds the serialized object data.</param> /// <param name="context">The contextual information about the source or destination.</param> protected EmployeeMergeException(SerializationInfo info, StreamingContext context) { _EmployeeMergeError = (EmployeeMergeError)info.GetInt32("_EmployeeMergeError"); }
/// <summary> /// Initializes a new instance of the <see cref="EmployeeMergeException"/> class. /// </summary> /// <param name="employeeMergeError">The object that holds type of the merge error.</param> public EmployeeMergeException(EmployeeMergeError employeeMergeError) : this() { this._EmployeeMergeError = employeeMergeError; }
/// Initializes a new instance of the <see cref="EmployeeMergeException"/> class. /// </summary> public EmployeeMergeException() : base() { _EmployeeMergeError = EmployeeMergeError.UnknownError; }