SearchComplete Event

Fired upon completion of a search operation.

Syntax

public event OnSearchCompleteHandler OnSearchComplete;

public delegate void OnSearchCompleteHandler(object sender, LdapSearchCompleteEventArgs e);

public class LdapSearchCompleteEventArgs : EventArgs {
  public int MessageId { get; }
  public string DN { get; }
  public int ResultCode { get; }
  public string ResultDescription { get; }
}
Public Event OnSearchComplete As OnSearchCompleteHandler

Public Delegate Sub OnSearchCompleteHandler(sender As Object, e As LdapSearchCompleteEventArgs)

Public Class LdapSearchCompleteEventArgs 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
End Class

Remarks

The MessageId parameter identifies the corresponding request. ResultCode and ResultDescription show whether the operation was successful (on a successful operation, the ResultCode is 0).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]