共用方式為


DsmlSoapHttpConnection.BeginSendRequest 方法

定義

以異步方式將指定的 DsmlRequestDocument 物件傳送至伺服器。

public:
 IAsyncResult ^ BeginSendRequest(System::DirectoryServices::Protocols::DsmlRequestDocument ^ request, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginSendRequest (System.DirectoryServices.Protocols.DsmlRequestDocument request, AsyncCallback callback, object state);
member this.BeginSendRequest : System.DirectoryServices.Protocols.DsmlRequestDocument * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendRequest (request As DsmlRequestDocument, callback As AsyncCallback, state As Object) As IAsyncResult

參數

request
DsmlRequestDocument

要傳送的 DsmlRequestDocument 物件。

callback
AsyncCallback

AsyncCallback 函式。

state
Object

此要求的狀態數據。

傳回

衍生自 IAsyncResult 的物件會參考非同步傳送。

例外狀況

request 是 null (在 Visual Basic 中為 Nothing)。

適用於