RoutingService RoutingService RoutingService RoutingService Class

定義

定義路由服務,該服務會根據篩選準則負責端點之間的路由訊息。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
繼承
RoutingServiceRoutingServiceRoutingServiceRoutingService
屬性
實作

明確介面實作

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

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

IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) IDuplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

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

IDuplexSessionRouter.EndProcessMessage(IAsyncResult) IDuplexSessionRouter.EndProcessMessage(IAsyncResult) IDuplexSessionRouter.EndProcessMessage(IAsyncResult) IDuplexSessionRouter.EndProcessMessage(IAsyncResult)

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

IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object) IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object) IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object) IRequestReplyRouter.BeginProcessRequest(Message, AsyncCallback, Object)

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

IRequestReplyRouter.EndProcessRequest(IAsyncResult) IRequestReplyRouter.EndProcessRequest(IAsyncResult) IRequestReplyRouter.EndProcessRequest(IAsyncResult) IRequestReplyRouter.EndProcessRequest(IAsyncResult)

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

ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexDatagramRouter.BeginProcessMessage(Message, AsyncCallback, Object)

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

ISimplexDatagramRouter.EndProcessMessage(IAsyncResult) ISimplexDatagramRouter.EndProcessMessage(IAsyncResult) ISimplexDatagramRouter.EndProcessMessage(IAsyncResult) ISimplexDatagramRouter.EndProcessMessage(IAsyncResult)

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

ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object) ISimplexSessionRouter.BeginProcessMessage(Message, AsyncCallback, Object)

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

ISimplexSessionRouter.EndProcessMessage(IAsyncResult) ISimplexSessionRouter.EndProcessMessage(IAsyncResult) ISimplexSessionRouter.EndProcessMessage(IAsyncResult) ISimplexSessionRouter.EndProcessMessage(IAsyncResult)

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

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

適用於