RoutingService 類別

定義

定義路由服務,該服務會根據篩選準則負責端點之間的路由訊息。Defines the routing service, which is responsible for routing messages between endpoints based on filter criteria.

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
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)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

開始訊息的非同步處理。Begins the asynchronous processing of the message.

IDuplexSessionRouter.EndProcessMessage(IAsyncResult)

完成訊息處理的非同步執行。Completes the asynchronous execution of message processing.

IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object)

初始化訊息的非同步處理。Initiates the asynchronous processing of the message.

IRequestReplyRouter.EndProcessRequest(IAsyncResult)

完成訊息處理的非同步執行。Finishes asynchronous execution of message processing.

ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object)

初始化訊息的非同步處理。Initiates the asynchronous processing of the message.

ISimplexDatagramRouter.EndProcessMessage(IAsyncResult)

完成訊息處理的非同步執行。Finishes asynchronous execution of message processing.

ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

初始化訊息的非同步處理。Initiates the asynchronous processing of the message.

ISimplexSessionRouter.EndProcessMessage(IAsyncResult)

完成訊息處理的非同步執行。Finishes asynchronous execution of message processing.

適用於