DirectoryControl Constructor (String, Byte[], Boolean, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The DirectoryControl constructor creates an instance of the DirectoryControl class using the specified values for the type, value, criticality, and ServerSide properties.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public DirectoryControl(
	string type,
	byte[] value,
	bool isCritical,
	bool serverSide
)

Parameters

type
Type: System.String

The control type.

value
Type: System.Byte[]

The value associated with the control.

isCritical
Type: System.Boolean

Specifies if the control is critical. The default is true.

serverSide
Type: System.Boolean

Specifies if this is a server-side control. The default is true. false specifies a client-side control.

Exception Condition
ArgumentNullException

type parameter is null.

.NET Framework
Available since 2.0
Return to top
Show: