PITrail Event
Provides detailed information about the interaction with the server.
Syntax
public event OnPITrailHandler OnPITrail; public delegate void OnPITrailHandler(object sender, LdapPITrailEventArgs e); public class LdapPITrailEventArgs : EventArgs { public int Direction { get; } public string Description { get; } public string Message { get; } }
Public Event OnPITrail As OnPITrailHandler Public Delegate Sub OnPITrailHandler(sender As Object, e As LdapPITrailEventArgs) Public Class LdapPITrailEventArgs Inherits EventArgs Public ReadOnly Property Direction As Integer Public ReadOnly Property Description As String Public ReadOnly Property Message As String End Class
Remarks
The PITrail event provides detailed information about all communication with the server. This is useful for debugging purposes.
Direction specifies the origin of the data. Possible values are:
- 0 - Client
- 1 - Server
Description is a short description of the current packet. This is human readable and useful for informational logging.
Message contains a hex encoded version of the raw message. This represents the exact value sent over the wire.