DsmlRequestDocument Members
.NET Framework 2.0
The DsmlRequestDocument class enables you to build a DSML request payload, such as AddRequest, ModifyRequest, or SearchRequest. It contains zero or more DirectoryRequest derived objects. The user may add, delete, modify, and enumerate the DirectoryRequest before sending to the server. DsmlRequestDocument can be used with any DSML Binding classes to transport the document, such as DsmlSoapHttpConnection.
The following tables list the members exposed by the DsmlRequestDocument type.
| Name | Description | |
|---|---|---|
| DsmlRequestDocument | The DsmlRequestDocument constructor creates an instance of the DsmlRequestDocument class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Count | The Count property contains the number of DirectoryRequest objects in this collection. |
| DocumentProcessing | The DocumentProcessing property contains one of the values of DsmlDocumentProcessing that specifies how the elements of the collection are processed. |
| ErrorProcessing | The ErrorProcessing property contains one of the values of DsmlErrorProcessing that specifies how errors are processed. |
| Item | The Item property contains the DirectoryRequest object at the specified index. |
| RequestId | The RequestId property contains the RequestID associated with the DsmlRequestDocument. |
| ResponseOrder | The ResponseOrder property contains one of the values of DsmlResponseOrder that specifies the order of the response. |
| Name | Description | |
|---|---|---|
| IsFixedSize | The IsFixedSize property contains a value that indicates whether the DsmlRequestDocument has a fixed size. |
| IsReadOnly | The IsReadOnly property contains a value indicating whether the DsmlRequestDocument is read only or not. |
| IsSynchronized | The IsSynchronized property contains a value that indicates whether access to the DsmlRequestDocument is synchronized (thread-safe). |
| SyncRoot | The SyncRoot property contains an object that can be used to synchronize access to the DsmlRequestDocument. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | The Add method adds a DirectoryRequest object to the collection. |
| Clear | The Clear method removes all items from this collection. |
| Contains | The Contains method determines whether this DsmlRequestDocument collection contains the specified DirectoryRequest object. |
| CopyTo | The CopyTo method copies the entire DsmlRequestDocument collection to a one-dimensional array, starting at the specified index of the target array. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | The GetEnumerator method returns an enumerator for the entire DsmlRequestDocument collection. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| IndexOf | The IndexOf method returns the zero-based index of the first occurrence of the specified DirectoryRequest object in the DsmlRequestDocument collection. |
| Insert | The Insert method inserts the specified DirectoryRequest object into the DsmlRequestDocument collection at the specified index. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | The Remove method removes the first occurrence of the specified DirectoryRequest object from the collection. |
| RemoveAt | The RemoveAt method removes the DirectoryRequest object at the specified position. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| ToXml | Overridden. The ToXml method transforms each DirectoryRequest object in the collection into an XmlDocument object. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo | The System.Collections.ICollection.CopyTo method copies the entire DsmlRequestDocument collection to a one-dimensional array, starting at the specified index of the target array. |
| System.Collections.IList.Add | The System.Collections.IList.Add method adds a DirectoryRequest object to the collection. |
| System.Collections.IList.Clear | The System.Collections.IList.Clear method removes all items from the collection. |
| System.Collections.IList.Contains | The System.Collections.IList.Contains method determines whether this DsmlRequestDocument collection contains the specified DirectoryRequest object. |
| System.Collections.IList.IndexOf | The System.Collections.IList.IndexOf method returns the zero-based index of the first occurrence of the specified DirectoryRequest object in the DsmlRequestDocument collection. |
| System.Collections.IList.Insert | The System.Collections.IList.Insert method inserts the specified DirectoryRequest object into the DsmlRequestDocument collection at the specified index. |
| System.Collections.IList.Remove | The System.Collections.IList.Remove method removes the first occurrence of the specified DirectoryRequest object from the collection. |
| System.Collections.IList.RemoveAt | The System.Collections.IList.RemoveAt method removes the DirectoryRequest object at the specified position. |
| System.Collections.ICollection.Count | The System.Collections.ICollection.Count property gets the number of DirectoryRequest objects in this collection. |
| System.Collections.ICollection.IsSynchronized | The System.Collections.ICollection.IsSynchronized property gets a value that indicates whether access to the DsmlRequestDocument is synchronized (thread-safe). |
| System.Collections.ICollection.SyncRoot | The System.Collections.ICollection.SyncRoot property gets an object that can be used to synchronize access to the DsmlRequestDocument. |
| System.Collections.IList.IsFixedSize | The System.Collections.IList.IsFixedSize property gets a value that indicates whether the DsmlRequestDocument has a fixed size. |
| System.Collections.IList.IsReadOnly | The System.Collections.IList.IsReadOnly property gets a value that indicates whether the DsmlRequestDocument is read-only or not. |
| System.Collections.IList.Item | The System.Collections.IList.Item property gets or sets the DirectoryRequest object at the specified index. |