ExtendedResponse Event
Fired for LDAP V3 Extended Responses.
Syntax
public event OnExtendedResponseHandler OnExtendedResponse; public delegate void OnExtendedResponseHandler(object sender, LdapExtendedResponseEventArgs e); public class LdapExtendedResponseEventArgs : EventArgs { public int MessageId { get; } public string DN { get; } public int ResultCode { get; } public string ResultDescription { get; } public string ResponseName { get; } public string ResponseValue { get; }
public byte[] ResponseValueB { get; } }
Public Event OnExtendedResponse As OnExtendedResponseHandler Public Delegate Sub OnExtendedResponseHandler(sender As Object, e As LdapExtendedResponseEventArgs) Public Class LdapExtendedResponseEventArgs Inherits EventArgs Public ReadOnly Property MessageId As Integer Public ReadOnly Property DN As String Public ReadOnly Property ResultCode As Integer Public ReadOnly Property ResultDescription As String Public ReadOnly Property ResponseName As String Public ReadOnly Property ResponseValue As String
Public ReadOnly Property ResponseValueB As Byte() End Class
Remarks
The first four parameters are the same as the parameters of the Result event. ResponseName and ResponseValue are related to the corresponding parameters of the call to ExtendedRequest.