Result Event
Fired for every server response, except search responses.
Syntax
[VB.NET] Public Event OnResult As OnResultHandler
[C#] public event OnResultHandler OnResult; public delegate void OnResultHandler(object sender, LdapResultEventArgs e); class LdapResultEventArgs : EventArgs { int MessageId {get;} string DN {get;} int ResultCode {get;} string Description {get;} }
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). For a full list of possible result codes, see the ResultCode property.