共用方式為


IRequestReplyRouter.BeginProcessRequest 方法

定義

初始化訊息的非同步處理。

public:
 IAsyncResult ^ BeginProcessRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=false, ReplyAction="*")]
public IAsyncResult BeginProcessRequest (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=false, ReplyAction="*")>]
abstract member BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginProcessRequest (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult

參數

message
Message

要處理的訊息。

callback
AsyncCallback

訊息處理完成時叫用的非同步回呼委派。

state
Object

已傳遞至回呼程序的使用者定義狀態物件。

傳回

IAsyncResult

可用來輪詢和 (或) 等候結果的非同步結果;叫用 EndProcessRequest(IAsyncResult) 時同樣需要此值。

屬性

適用於