/// <summary> Constructs an RfcModifyResponse from parameters. /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// /// </param> /// <param name="referral">the referral(s) returned by the server /// </param> public RfcModifyResponse(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(resultCode, matchedDN, errorMessage, referral) { return; }
/// <summary> Constructs an RfcLdapResult from parameters /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// /// </param> /// <param name="referral">the referral(s) returned by the server /// </param> public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(4) { add(resultCode); add(matchedDN); add(errorMessage); if (referral != null) { add(referral); } return; }