Class LdapMessage
The base class for Ldap request and response messages. Subclassed by response messages used in asynchronous operations.
Inherited Members
Namespace: Swan.Ldap
Syntax
public class LdapMessage
Properties
MessageId
Returns the message ID. The message ID is an integer value identifying the Ldap request and its response.
Declaration
public virtual int MessageId { get; }
Property Value
Type | Description |
---|---|
Int32 | The message identifier. |
Request
Indicates whether the message is a request or a response.
Declaration
public virtual bool Request { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Tag
Retrieves the identifier tag for this message.
An identifier can be associated with a message with the
setTag
method.
Tags are set by the application and not by the API or the server.
If a server response isRequest() == false
has no tag,
the tag associated with the corresponding server request is used.
Declaration
public virtual string Tag { get; set; }
Property Value
Type | Description |
---|---|
String | The tag. |
Methods
ToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |