/// <summary> /// Initializes a new instance of the <see cref="RfcLdapResult"/> class. /// 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, Asn1SequenceOf referral = null) : base(4) { Add(resultCode); Add(matchedDN); Add(errorMessage); if (referral != null) { Add(referral); } }
/// <summary> /// Initializes a new instance of the <see cref="RfcModifyResponse"/> class. /// </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> public RfcModifyResponse(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage) : base(resultCode, matchedDN, errorMessage) { }
public RfcModifyRequest(RfcLdapDN obj, Asn1SequenceOf modification) : base(2) { Add(obj); Add(modification); }
/// <summary> /// Initializes a new instance of the <see cref="RfcSearchResultDone"/> class. /// Constructs an RfcSearchResultDone 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 RfcSearchResultDone(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, Asn1SequenceOf referral) : base(resultCode, matchedDN, errorMessage, referral) { }