RoutingService 類別

定義

定義路由服務,該服務會根據篩選準則負責端點之間的路由訊息。

C#
[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
繼承
RoutingService
屬性
實作

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

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)

完成訊息處理的非同步執行。

適用於

產品 版本
.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