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

提供包含通道调度程序的线程安全集合。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

表示客户端运行时 compat 基。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

表示客户端运行时 compat 基。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 基类,如果试图访问消息的正文但不允许访问,则会引发该异常。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

定义方法,通过该方法可以使用调用用户代码的线程来初始化和回收本地线程存储。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.