RoutingService.IRequestReplyRouter.BeginProcessRequest 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化訊息的非同步處理。
virtual IAsyncResult ^ System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IRequestReplyRouter::BeginProcessRequest;
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IRequestReplyRouter.BeginProcessRequest (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)>]
abstract member System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Routing.IRequestReplyRouter.BeginProcessRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginProcessRequest (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IRequestReplyRouter.BeginProcessRequest
參數
- callback
- AsyncCallback
訊息處理完成時叫用的 AsyncCallback 委派。
- state
- Object
已傳遞至回呼程序的使用者定義狀態物件。
傳回
可用來輪詢和 (或) 等候結果的 IAsyncResult;叫用 IRequestReplyRouter.EndProcessRequest(IAsyncResult) 時同樣需要此值。
實作
- 屬性
備註
如需使用 IRequestReplyRouter 合約的詳細資訊,請參閱 IRequestReplyRouter。