DsmlRequestDocument 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
类 DsmlRequestDocument 使你能够生成 DSML 请求有效负载,例如 AddRequest, ModifyRequest或 SearchRequest。 它包含零个或多个 DirectoryRequest 派生对象。 用户可以在发送到服务器之前添加、删除、修改和枚举 DirectoryRequest 。 DsmlRequestDocument 可与任何 DSML 绑定类一起使用来传输文档,例如 DsmlSoapHttpConnection。
public ref class DsmlRequestDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::IList
public class DsmlRequestDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.IList
type DsmlRequestDocument = class
inherit DsmlDocument
interface IList
interface ICollection
interface IEnumerable
Public Class DsmlRequestDocument
Inherits DsmlDocument
Implements IList
- 继承
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| DsmlRequestDocument() |
构造 DsmlRequestDocument() 函数创建类的 DsmlRequestDocument 实例。 |
属性
| 名称 | 说明 |
|---|---|
| Count |
该 Count 属性包含此集合中的对象数 DirectoryRequest 。 |
| DocumentProcessing |
该 DocumentProcessing 属性包含一个值 DsmlDocumentProcessing ,该值指定如何处理集合的元素。 |
| ErrorProcessing |
该 ErrorProcessing 属性包含指定错误处理方式的值 DsmlErrorProcessing 之一。 |
| IsFixedSize |
该 IsFixedSize 属性包含一个值,该值指示是否 DsmlRequestDocument 具有固定大小。 |
| IsReadOnly |
该 IsReadOnly 属性包含一个值,该值指示是否 DsmlRequestDocument 为只读。 |
| IsSynchronized |
该 IsSynchronized 属性包含一个值,该值指示是否同步访问 DsmlRequestDocument 同步(线程安全)。 |
| Item[Int32] |
该 Item[Int32] 属性包含 DirectoryRequest 指定索引处的对象。 |
| RequestId |
获取或设置与 . DsmlRequestDocument. |
| ResponseOrder |
该 ResponseOrder 属性包含指定响应顺序的值 DsmlResponseOrder 之一。 |
| SyncRoot |
该 SyncRoot 属性包含一个对象,该对象可用于同步对 . 的访问 DsmlRequestDocument。 |
方法
显式接口实现
| 名称 | 说明 |
|---|---|
| ICollection.CopyTo(Array, Int32) |
从目标数组的指定索引处开始,将整个 DsmlRequestDocument 集合复制到一维数组。 |
| ICollection.Count |
获取此集合中的对象数 DirectoryRequest 。 |
| ICollection.IsSynchronized |
获取一个值,该值指示对 DsmlRequestDocument 同步的访问是否同步(线程安全)。 |
| ICollection.SyncRoot |
获取可用于同步对 . DsmlRequestDocument的访问的对象。 |
| IList.Add(Object) |
将对象 DirectoryRequest 添加到集合。 |
| IList.Clear() |
从集合中删除所有项。 |
| IList.Contains(Object) |
指示此 DsmlRequestDocument 集合是否包含指定的 DirectoryRequest 对象。 |
| IList.IndexOf(Object) |
返回集合中DirectoryRequest指定DsmlRequestDocument对象的第一个匹配项的从零开始的索引。 |
| IList.Insert(Int32, Object) |
将指定的 DirectoryRequest 对象插入集合中的 DsmlRequestDocument 指定索引处。 |
| IList.IsFixedSize |
获取一个值,该值指示是否 DsmlRequestDocument 具有固定大小。 |
| IList.IsReadOnly |
获取一个值,该值指示是否 DsmlRequestDocument 为只读。 |
| IList.Item[Int32] |
获取或设置 DirectoryRequest 指定索引处的对象。 |
| IList.Remove(Object) |
从集合中删除指定 DirectoryRequest 对象的第一个匹配项。 |
| IList.RemoveAt(Int32) |
移除 DirectoryRequest 位于指定位置的对象。 |
扩展方法
| 名称 | 说明 |
|---|---|
| AsParallel(IEnumerable) |
启用查询的并行化。 |
| AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。 |
| Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定类型。 |
| OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。 |