DsmlSoapHttpConnection 类

定义

DsmlSoapHttpConnection 类表示使用 SOAP over HTTP 与 DSML 网关的连接。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
继承

构造函数

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

DsmlSoapHttpConnection(DsmlDirectoryIdentifier) 构造函数初始化 DsmlSoapHttpConnection 类的新实例。The DsmlSoapHttpConnection(DsmlDirectoryIdentifier) constructor initializes a new instance of a DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) 构造函数初始化 DsmlSoapHttpConnection 类的新实例。The DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) constructor initializes a new instance of a DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType) 构造函数使用指定的标识符、网络凭据以及身份验证类型创建并初始化 DsmlSoapHttpConnection 类的新实例。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)

DsmlSoapHttpConnection(Uri) 构造函数初始化 DsmlSoapHttpConnection 类的新实例。The DsmlSoapHttpConnection(Uri) constructor initializes a new instance of a DsmlSoapHttpConnection class.

属性

AuthType

AuthType 属性包含 AuthType 枚举的一个值,该值指定身份验证类型。The AuthType property contains one of the values of AuthType enumeration that specifies the authentication type.

ClientCertificates

ClientCertificates 属性指定要为进行身份验证而发送的一个或多个客户端证书。The ClientCertificates property specifies one or more client certificates to send for authentication.

(继承自 DirectoryConnection)
Credential

Credential 属性指定用于连接对象的备用凭据。The Credential property specifies alternate credentials for the connection object.

(继承自 DirectoryConnection)
Directory

Directory 属性指定应与其进行连接的域或服务器。The Directory property specifies the domain or the server to which the connection should be made.

(继承自 DirectoryConnection)
SessionId

SessionId 属性包含活动会话 ID。The SessionId property contains the active session ID.

SoapActionHeader

SoapActionHeader 属性包含与其他 HTTP 头一起发送的 SOAP Action 头。The SoapActionHeader property contains the SOAP Action Header sent with other HTTP headers.

SoapRequestHeader

SoapRequestHeader 属性包含附加到传出请求的 SOAP 标头。The SoapRequestHeader property contains the SOAP Header attached to outgoing requests.

(继承自 DsmlSoapConnection)
Timeout

Timeout 属性包含 DsmlSoapHttpConnection 超时前的时间长度(以秒为单位)。The Timeout property contains the length of time, in seconds, before the DsmlSoapHttpConnection times out.

方法

Abort(IAsyncResult)

Abort(IAsyncResult) 方法取消异步请求。The Abort(IAsyncResult) method cancels the asynchronous request.

BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object)

BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) 方法开始以异步方式将指定的 DsmlRequestDocument 对象发送到服务器。The BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) method begins asynchronously sending the specified DsmlRequestDocument object to the server.

BeginSession()

BeginSession() 方法指示 DSML 服务器启动新会话。The BeginSession() method instructs the DSML server to start a new session.

EndSendRequest(IAsyncResult)

EndSendRequest(IAsyncResult) 方法将完成异步发送请求。The EndSendRequest(IAsyncResult) method completes an asynchronous send request.

EndSession()

EndSession() 方法结束与 DSML 服务器的会话并清除 SessionId 属性。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.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SendRequest(DirectoryRequest)

SendRequest(DirectoryRequest) 方法发送单个 DirectoryRequest 对象。The SendRequest(DirectoryRequest) method sends a single DirectoryRequest object.

SendRequest(DsmlRequestDocument)

SendRequest(DsmlRequestDocument) 方法向 DSML 服务器发送 DsmlRequestDocument 对象。The SendRequest(DsmlRequestDocument) method sends a DsmlRequestDocument object to the DSML server.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于