DsmlResponseDocument Class

 

The DsmlResponseDocument class is a read-only collection generated as a response to a DsmlRequestDocument object that contains zero, or more, objects derived from DirectoryResponse.

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

System.Object
  System.DirectoryServices.Protocols.DsmlDocument
    System.DirectoryServices.Protocols.DsmlResponseDocument

public class DsmlResponseDocument : DsmlDocument, ICollection, 
	IEnumerable

NameDescription
System_CAPS_pubpropertyCount

The Count property contains the number of DirectoryResponse objects in this collection.

System_CAPS_pubpropertyIsErrorResponse

The IsErrorResponse property specifies whether an error response has occurred.

System_CAPS_pubpropertyIsOperationError

The IsOperationError property specifies whether an operation error response has occurred.

System_CAPS_protpropertyIsSynchronized

The IsSynchronized property contains a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

System_CAPS_pubpropertyItem[Int32]

The Item property contains the DirectoryResponse object at the specified index.

System_CAPS_pubpropertyRequestId

The RequestId property contains the RequestID associated with the document.

System_CAPS_protpropertySyncRoot

The SyncRoot property contains an object that can be used to synchronize access to the DsmlResponseDocument.

NameDescription
System_CAPS_pubmethodCopyTo(DirectoryResponse[], Int32)

The CopyTo method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

The GetEnumerator method returns an enumerator for the entire DsmlResponseDocument collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXml()

The ToXml method transforms each DirectoryResponse object in the collection into an XmlDocument object.(Overrides DsmlDocument.ToXml().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

The M:System.DirectoryServices.Protocols.DsmlResponseDocument.System.Collections.ICollection.CopyTo(System.Array,System.Int32) method copies the entire DsmlResponseDocument collection to a one-dimensional array, starting at the specified index of the target array.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.Count
System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

The P:System.DirectoryServices.Protocols.DsmlResponseDocument.System.Collections.ICollection.IsSynchronized property gets a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

The P:System.DirectoryServices.Protocols.DsmlResponseDocument.System.Collections.ICollection.SyncRoot property gets an object that can be used to synchronize access to the DsmlResponseDocument.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: