DsmlSoapHttpConnection Class

Definition

The DsmlSoapHttpConnection class represents a connection to a DSML Gateway using SOAP over HTTP.

public ref class DsmlSoapHttpConnection : System::DirectoryServices::Protocols::DsmlSoapConnection
public class DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlSoapConnection
type DsmlSoapHttpConnection = class
    inherit DsmlSoapConnection
Public Class DsmlSoapHttpConnection
Inherits DsmlSoapConnection
Inheritance

Constructors

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

The DsmlSoapHttpConnection(DsmlDirectoryIdentifier) constructor initializes a new instance of a DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

The DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) constructor initializes a new instance of a DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

The DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType) constructor creates and initializes a new instance of a DsmlSoapHttpConnection class using the specified identifier, network credentials, and authentication type.

DsmlSoapHttpConnection(Uri)

The DsmlSoapHttpConnection(Uri) constructor initializes a new instance of a DsmlSoapHttpConnection class.

Properties

AuthType

The AuthType property contains one of the values of AuthType enumeration that specifies the authentication type.

ClientCertificates

The ClientCertificates property specifies one or more client certificates to send for authentication.

(Inherited from DirectoryConnection)
Credential

The Credential property specifies alternate credentials for the connection object.

(Inherited from DirectoryConnection)
Directory

The Directory property specifies the domain or the server to which the connection should be made.

(Inherited from DirectoryConnection)
SessionId

The SessionId property contains the active session ID.

SoapActionHeader

The SoapActionHeader property contains the SOAP Action Header sent with other HTTP headers.

SoapRequestHeader

The SoapRequestHeader property contains the SOAP Header attached to outgoing requests.

(Inherited from DsmlSoapConnection)
Timeout

The Timeout property contains the length of time, in seconds, before the DsmlSoapHttpConnection times out.

Methods

Abort(IAsyncResult)

The Abort(IAsyncResult) method cancels the asynchronous request.

BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object)

The BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) method begins asynchronously sending the specified DsmlRequestDocument object to the server.

BeginSession()

The BeginSession() method instructs the DSML server to start a new session.

EndSendRequest(IAsyncResult)

The EndSendRequest(IAsyncResult) method completes an asynchronous send request.

EndSession()

The EndSession() method ends the session with the DSML server and clears the SessionId property.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SendRequest(DirectoryRequest)

The SendRequest(DirectoryRequest) method sends a single DirectoryRequest object.

SendRequest(DsmlRequestDocument)

The SendRequest(DsmlRequestDocument) method sends a DsmlRequestDocument object to the DSML server.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to