RoutingService.IDuplexSessionRouter.BeginProcessMessage Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins the asynchronous processing of the message.
virtual IAsyncResult ^ System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IDuplexSessionRouter::BeginProcessMessage;
C#
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IDuplexSessionRouter.BeginProcessMessage(System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)>]
abstract member System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginProcessMessage (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IDuplexSessionRouter.BeginProcessMessage
- callback
- AsyncCallback
An AsyncCallback delegate that is invoked when the message processing has completed.
- state
- Object
A user-defined state object that is passed to the callback procedure.
An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking IDuplexSessionRouter.EndProcessMessage(IAsyncResult).
- Attributes
For more information on using the IDuplexSessionRouter contract, see IDuplexSessionRouter.
產品 | 版本 |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |