RoutingService 类

定义

定义路由服务,此服务负责根据筛选条件路由终结点之间的消息。

public ref class RoutingService sealed : IDisposable, System::ServiceModel::Routing::IDuplexSessionRouter, System::ServiceModel::Routing::IRequestReplyRouter, System::ServiceModel::Routing::ISimplexDatagramRouter, System::ServiceModel::Routing::ISimplexSessionRouter
[System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)]
[System.ServiceModel.ServiceBehavior(AddressFilterMode=System.ServiceModel.AddressFilterMode.Any, InstanceContextMode=System.ServiceModel.InstanceContextMode.PerSession, UseSynchronizationContext=false, ValidateMustUnderstand=false)]
public sealed class RoutingService : IDisposable, System.ServiceModel.Routing.IDuplexSessionRouter, System.ServiceModel.Routing.IRequestReplyRouter, System.ServiceModel.Routing.ISimplexDatagramRouter, System.ServiceModel.Routing.ISimplexSessionRouter
[<System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)>]
[<System.ServiceModel.ServiceBehavior(AddressFilterMode=System.ServiceModel.AddressFilterMode.Any, InstanceContextMode=System.ServiceModel.InstanceContextMode.PerSession, UseSynchronizationContext=false, ValidateMustUnderstand=false)>]
type RoutingService = class
    interface ISimplexDatagramRouter
    interface ISimplexSessionRouter
    interface IRequestReplyRouter
    interface IDuplexSessionRouter
    interface IDisposable
Public NotInheritable Class RoutingService
Implements IDisposable, IDuplexSessionRouter, IRequestReplyRouter, ISimplexDatagramRouter, ISimplexSessionRouter
继承
RoutingService
属性
实现

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

显式接口实现

IDisposable.Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

启动消息的异步处理。

IDuplexSessionRouter.EndProcessMessage(IAsyncResult)

完成消息处理的异步执行。

IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object)

启动消息的异步处理。

IRequestReplyRouter.EndProcessRequest(IAsyncResult)

完成消息处理的异步执行。

ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object)

启动消息的异步处理。

ISimplexDatagramRouter.EndProcessMessage(IAsyncResult)

完成消息处理的异步执行。

ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

启动消息的异步处理。

ISimplexSessionRouter.EndProcessMessage(IAsyncResult)

完成消息处理的异步执行。

适用于