System.ServiceModel.Dispatcher 命名空間

提供與分派服務模型相關的類別。 Provides classes related to dispatching the service model.

類別

ActionMessageFilter

表示查詢,這個查詢會測試訊息的動作是否為指定之動作集合中的動作。Represents a query that tests whether the action of a message is one of a specified set of actions.

ChannelDispatcher

元件,它會接受通道且使通道與服務產生關聯。A component that accepts channels and associates them with a service.

ChannelDispatcherBase

通道發送器的抽象基底類別,這個發送器會接受通道並使它們與服務產生關聯。Abstract base class for the channel dispatcher that accepts channels and associates them with a service.

ChannelDispatcherCollection

提供包含通道發送器的安全執行緒 (Thread-Safe) 集合。Provides a thread-safe collection that contains channel dispatchers.

ClientOperation

用於修改或擴充用戶端物件或用戶端通道物件中特定合約作業的執行行為。Used to modify or extend the execution behavior of a specific contract operation in a client object or client channel object. 這個類別無法被繼承。This class cannot be inherited.

ClientOperationCompatBase

表示用戶端作業相容基底。Represents a client operation compat base.

ClientRuntime

表示類別的插入點,這些類別會針對用戶端應用程式處理的所有訊息,擴充 Windows Communication Foundation (WCF) 用戶端物件的功能。Represents the insertion point for classes that extend the functionality of Windows Communication Foundation (WCF) client objects for all messages handled by a client application.

ClientRuntimeCompatBase

表示用戶端執行階段相容基底。Represents a client runtime compat base.

DispatchOperation

用來修改或擴充服務端點中特定服務作業的執行行為。Used to modify or extend the execution behavior of a specific service operation in a service endpoint. 這個類別無法被繼承。This class cannot be inherited.

DispatchRuntime

公開屬性,這些屬性可用於修改預設服務行為以及附加自訂物件,而這些物件可以修改將傳入訊息轉換成物件並分派至作業的方式。Exposes properties that can be used to modify default service behavior as well as attach custom objects that can modify how incoming messages are transformed into objects and dispatched to operations. 這個類別無法被繼承。This class cannot be inherited.

DurableOperationContext

提供一組靜態方法,以存取相關資訊與功能。Provides a set of static methods to gain access to related information and functionality.

EndpointAddressMessageFilter

表示測試訊息是否符合指定之端點位址需求的查詢。Represents a query that tests whether a message satisfies the requirements of a specified endpoint address.

EndpointDispatcher

代表公開一些屬性的執行階段物件,而這些屬性可以在服務應用程式中插入訊息的執行階段擴充或修改。Represents the run-time object that exposes properties that enable the insertion of run-time extensions or modifications for messages in service applications.

EndpointNameMessageFilter

表示查詢,該查詢會測試訊息是否在名稱符合指定名稱的端點上接收。Represents a query that tests whether a message was received on an endpoint with a name that matches the specified name.

ExceptionHandler

擴充 ExceptionHandler 類別,建立 Windows Communication Foundation (WCF) 執行階段中所發生未處理之例外狀況的例外處理常式。Extend the ExceptionHandler class to create an exception handler for unhandled exceptions that occur within the Windows Communication Foundation (WCF) runtime.

FaultContractInfo

表示 FaultContractAttribute 屬性中所指定之 SOAP 錯誤的相關資訊。Represents information about a SOAP fault that is specified in a FaultContractAttribute attribute.

FilterInvalidBodyAccessException

當篩選條件或篩選資料表嘗試存取未緩衝訊息的本文時,所擲回的例外狀況。The exception that is thrown when a filter or filter table attempts to access the body of an unbuffered message.

InvalidBodyAccessException

當存取訊息本文的嘗試未獲得允許時,所擲回之例外狀況的 abstract 基底類別 (Base Class)。An abstract base class for the exceptions that are thrown if an attempt is made to access the body of a message when it is not allowed.

JsonQueryStringConverter

這個類別會將參數值與 JavaScript 物件標記法 (JSON) 相互轉換。This class converts a parameter value to and from a JavaScript Object Notation (JSON).

MatchAllMessageFilter

表示只要不是 null 的每個訊息都會通過其測試的查詢。Represents a query that is satisfied by every non-null message that it tests.

MatchNoneMessageFilter

表示絕對不會有訊息通過其測試的查詢。Represents a query that is never satisfied by a message that it tests.

MessageFilter

用來查詢訊息之不同篩選條件類別的 abstract 基底類別。abstract base class for different classes of filters used to query messages.

MessageFilterException

例外狀況的基底類別,該例外狀況會在篩選條件檢查的節點超出配額時擲回。The base class for the exceptions that are thrown when the quota of nodes inspected by a filter is exceeded.

MessageFilterTable<TFilterData>

提供篩選資料表的泛型實作。Provides the generic implementation of a filter table.

MessageQuery

定義類別的核心行為,這些類別會用來搜尋訊息中特定的相互關聯資料。Defines the core behavior of classes used to search for specific correlating data in a message.

MessageQueryCollection

訊息查詢物件的集合。A collection of message query objects.

MessageQueryTable<TItem>

管理訊息查詢物件的集合。Manages a collection of message query objects.

MultipleFilterMatchesException

當多個篩選條件相符,但預期只有一個相符時所擲回的例外狀況。The exception that is thrown when multiple filters match, but only one was expected.

NavigatorInvalidBodyAccessException

XPathNavigator 被導向成檢查未緩衝訊息的本文時,所擲回的例外狀況。The exception that is thrown when an XPathNavigator is directed to examine the body of an unbuffered message.

PrefixEndpointAddressMessageFilter

表示查詢,其會使用 URI 元件的「最長的前置詞比對」來測試訊息是否符合 EndpointAddress。Represents a query that tests whether a message matches an EndpointAddress using a Longest-Prefix Match for the URI component.

QueryStringConverter

這個類別會將查詢字串中的參數轉換成適當型別的物件,This class converts a parameter in a query string to an object of the appropriate type. 也可以將參數從物件轉換成為它的查詢字串表示。It can also convert a parameter from an object to its query string representation.

SeekableXPathNavigator

提供對 XML 文件所包含資料的唯讀隨機存取,並讓您可以對指定的節點進行有效率的查詢。Provides read-only, random access to data contained in XML documents and enables efficient querying for specified nodes.

ServiceThrottle

控制服務輸送量,以便最佳化可用性和效能。Controls the throughput of a service to optimize availability and performance.

StrictAndMessageFilter

表示查詢,這個查詢會測試訊息是否符合這兩個指定的 MessageFilter 物件。Represents a query that tests whether a message satisfies both specified MessageFilter objects.

WebHttpDispatchOperationSelector

支援 Web 程式設計模型的作業選取器。The operation selector that supports the Web programming model.

XPathMessageContext

定義數個在對 SOAP 文件評估 XPath 運算式時常用的 XPath 函式和命名空間對應。Defines several XPath functions and namespace mappings commonly used when evaluating XPath expressions against SOAP documents.

XPathMessageFilter

表示查詢由 XPath 1.0 運算式定義的 XML 文件。Represents a query on an XML document defined by an XPath 1.0 expression.

XPathMessageFilterTable<TFilterData>

保存篩選條件/資料組的集合,以進行有效率的比對。Holds a collection of filter/data pairs for efficient matching.

XPathMessageQueryCollection

包含 XPathMessageQuery 物件的集合。Contains a collection of XPathMessageQuery objects.

XPathNavigatorException

當超出允許由 XPathNavigator 檢查的節點配額時,所擲回的例外狀況。The exception that is thrown when the quota of nodes allowed to be inspected by an XPathNavigator is exceeded.

XPathResult

包含 XPath 查詢傳回的值。Contains the value returned by an XPath query.

介面

ICallContextInitializer

定義方法,這些方法會透過叫用使用者程式碼的執行緒,啟用執行緒區域儲存區 (Thread Local Storage) 的初始化和回收處理。Defines the methods that enable the initialization and recycling of thread-local storage with the thread that invokes user code.

IChannelInitializer

定義要在通道建立時通知服務或用戶端的介面。Defines the interface to notify a service or client when a channel is created.

IClientMessageFormatter

定義方法,這些方法可以用來為用戶端應用程式控制訊息與物件之間的轉換。Defines methods that are used to control the conversion of messages into objects and objects into messages for client applications.

IClientMessageInspector

定義訊息偵測器物件,您可以將這個物件加入至 MessageInspectors 集合以檢視或修改訊息。Defines a message inspector object that can be added to the MessageInspectors collection to view or modify messages.

IClientOperationSelector

定義作業選取器的合約。Defines the contract for an operation selector.

IDispatchMessageFormatter

定義方法,這些方法會在服務應用程式中將要求訊息還原序列化,並將回應訊息序列化。Defines methods that deserialize request messages and serialize response messages in a service application.

IDispatchMessageInspector

定義方法,這些方法可以在服務應用程式中啟用傳入和傳出應用程式訊息的自訂檢查或修改。Defines the methods that enable custom inspection or modification of inbound and outbound application messages in service applications.

IDispatchOperationSelector

定義合約,這個合約會使傳入訊息與本機作業產生關聯,以便自訂服務執行行為。Defines the contract that associates incoming messages with a local operation to customize service execution behavior.

IErrorHandler

可讓實作器控制傳回到呼叫端的錯誤訊息,並選擇性地執行自訂錯誤處理,例如記錄。Allows an implementer to control the fault message returned to the caller and optionally perform custom error processing such as logging.

IInputSessionShutdown

定義必須實作才能關閉輸入工作階段的合約。Defines the contract that must be implemented to shut down an input session.

IInstanceContextInitializer

定義方法,這些是在有必要檢查或修改 InstanceContext 物件的建立作業時所需要的方法。Defines the methods necessary to inspect or modify the creation of InstanceContext objects when required.

IInstanceContextProvider

實作此類別,即可參與建立或選擇 InstanceContext 物件,特別是用來啟用共用工作階段。Implement to participate in the creation or choosing of a InstanceContext object, especially to enable shared sessions.

IInstanceProvider

宣告為 Windows Communication Foundation (WCF) 服務提供服務物件或回收服務物件的方法。Declares methods that provide a service object or recycle a service object for a Windows Communication Foundation (WCF) service.

IInteractiveChannelInitializer

定義方法,這些方法可讓用戶端應用程式顯示使用者介面,以便在建立通道之前收集身分識別資訊。Defines the methods that enable a client application to display a user interface to collect identity information prior to creating the channel.

IMessageFilterTable<TFilterData>

interface,它會定義篩選資料表必須實作的合約,以便透過衍生自一或多個篩選條件的查詢準則來檢查訊息。An interface that defines the contract that a filter table must implement to inspect messages with query criteria derived from one or more filters.

IOperationInvoker

宣告方法,這些方法會接受自訊息擷取的物件和參數陣列,使用這些參數對該物件叫用方法,然後傳回該方法的傳回值和輸出參數。Declares methods that take an object and an array of parameters extracted from a message, invoke a method on that object with those parameters, and return the method's return value and output parameters.

IParameterInspector

定義可透過自訂參數偵測器實作的合約,您可以在用戶端或服務上進行呼叫前後,使用這個參數偵測器來檢查或修改資訊。Defines the contract implemented by custom parameter inspectors that enables inspection or modification of information prior to and subsequent to calls on either the client or the service.

委派

InstanceContextIdleCallback

表示在 InstanceContext 物件完成處理時呼叫的方法。Represents the method that is called when an InstanceContext object has finished processing.