C# Class Novell.Directory.Ldap.LdapControl

Encapsulates optional additional parameters or constraints to be applied to an Ldap operation. When included with LdapConstraints or LdapSearchConstraints on an LdapConnection or with a specific operation request, it is sent to the server along with operation requests.
Inheritance: System.ICloneable
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Private Properties

Property Type Description
LdapControl System
LdapControl System
getValue sbyte[]
setValue void

Public Methods

Method Description
Clone ( ) : Object

Returns a copy of the current LdapControl object.

register ( System oid, System controlClass ) : void

Registers a class to be instantiated on receipt of a control with the given OID. Any previous registration for the OID is overridden. The controlClass must be an extension of LdapControl.

Protected Methods

Method Description
LdapControl ( RfcControl control ) : System

Create an LdapControl from an existing control.

Private Methods

Method Description
LdapControl ( ) : System
LdapControl ( System oid, bool critical, sbyte values ) : System
getValue ( ) : sbyte[]
setValue ( sbyte controlValue ) : void

Method Details

Clone() public method

Returns a copy of the current LdapControl object.
public Clone ( ) : Object
return System.Object

LdapControl() protected method

Create an LdapControl from an existing control.
protected LdapControl ( RfcControl control ) : System
control Novell.Directory.Ldap.Rfc2251.RfcControl
return System

register() public static method

Registers a class to be instantiated on receipt of a control with the given OID. Any previous registration for the OID is overridden. The controlClass must be an extension of LdapControl.
public static register ( System oid, System controlClass ) : void
oid System The object identifier of the control. /// ///
controlClass System A class which can instantiate an LdapControl. ///
return void