共用方式為


ISimplexSessionRouter.BeginProcessMessage 方法

定義

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

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

參數

message
Message

要處理的訊息。

callback
AsyncCallback

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

state
Object

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

傳回

IAsyncResult

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

屬性

適用於