DsmlSoapHttpConnection DsmlSoapHttpConnection DsmlSoapHttpConnection DsmlSoapHttpConnection Class

定義

DsmlSoapHttpConnection 類別 (Class) 表示使用 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(DsmlDirectoryIdentifier) DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

DsmlSoapHttpConnection(DsmlDirectoryIdentifier) 建構函式會初始化 DsmlSoapHttpConnection 類別的新執行個體。The DsmlSoapHttpConnection(DsmlDirectoryIdentifier) constructor initializes a new instance of a DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) 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(DsmlDirectoryIdentifier, NetworkCredential, AuthType) 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(Uri) DsmlSoapHttpConnection(Uri)

DsmlSoapHttpConnection(Uri) 建構函式會初始化 DsmlSoapHttpConnection 類別的新執行個體。The DsmlSoapHttpConnection(Uri) constructor initializes a new instance of a DsmlSoapHttpConnection class.

屬性

AuthType AuthType AuthType AuthType

AuthType 屬性包含可指定驗證類型之其中一個 AuthType 列舉型別的值。The AuthType property contains one of the values of AuthType enumeration that specifies the authentication type.

ClientCertificates ClientCertificates ClientCertificates ClientCertificates

ClientCertificates 屬性會指定傳送一或多個用戶端憑證以進行驗證。The ClientCertificates property specifies one or more client certificates to send for authentication.

(Inherited from DirectoryConnection)
Credential Credential Credential Credential

Credential 屬性會指定連接物件的替代認證。The Credential property specifies alternate credentials for the connection object.

(Inherited from DirectoryConnection)
Directory Directory Directory Directory

Directory 屬性會指定要連接到的網域或伺服器。The Directory property specifies the domain or the server to which the connection should be made.

(Inherited from DirectoryConnection)
SessionId SessionId SessionId SessionId

SessionId 屬性包含現用工作階段 ID。The SessionId property contains the active session ID.

SoapActionHeader SoapActionHeader SoapActionHeader SoapActionHeader

SoapActionHeader 屬性包含與其他 HTTP 標頭一起傳送的 SOAP Action 標頭。The SoapActionHeader property contains the SOAP Action Header sent with other HTTP headers.

SoapRequestHeader SoapRequestHeader SoapRequestHeader SoapRequestHeader

SoapRequestHeader 屬性包含附加至輸出要求的 SOAP 標頭。The SoapRequestHeader property contains the SOAP Header attached to outgoing requests.

(Inherited from DsmlSoapConnection)
Timeout Timeout Timeout Timeout

Timeout 屬性包含 DsmlSoapHttpConnection 逾時之前所經過的時間長度 (以秒為單位)。The Timeout property contains the length of time, in seconds, before the DsmlSoapHttpConnection times out.

方法

Abort(IAsyncResult) Abort(IAsyncResult) Abort(IAsyncResult) Abort(IAsyncResult)

Abort(IAsyncResult) 方法會取消非同步要求。The Abort(IAsyncResult) method cancels the asynchronous request.

BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) 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() BeginSession() BeginSession()

BeginSession() 方法會指示 DSML 伺服器啟動新的工作階段。The BeginSession() method instructs the DSML server to start a new session.

EndSendRequest(IAsyncResult) EndSendRequest(IAsyncResult) EndSendRequest(IAsyncResult) EndSendRequest(IAsyncResult)

EndSendRequest(IAsyncResult) 方法會完成非同步傳送要求。The EndSendRequest(IAsyncResult) method completes an asynchronous send request.

EndSession() EndSession() EndSession() EndSession()

EndSession() 方法會結束與 DSML 伺服器的工作階段,並清除 SessionId 屬性。The EndSession() method ends the session with the DSML server and clears the SessionId property.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
SendRequest(DirectoryRequest) SendRequest(DirectoryRequest) SendRequest(DirectoryRequest) SendRequest(DirectoryRequest)

SendRequest(DirectoryRequest) 方法會傳送單一 DirectoryRequest 物件。The SendRequest(DirectoryRequest) method sends a single DirectoryRequest object.

SendRequest(DsmlRequestDocument) SendRequest(DsmlRequestDocument) SendRequest(DsmlRequestDocument) SendRequest(DsmlRequestDocument)

SendRequest(DsmlRequestDocument) 方法會將 DsmlRequestDocument 物件傳送至 DSML 伺服器。The SendRequest(DsmlRequestDocument) method sends a DsmlRequestDocument object to the DSML server.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於