Bagikan melalui


System.ServiceModel.Channels Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains the types, enumerations, and interfaces required to construct and modify the messages used by clients to communicate with services, the types of channels used to exchange messages, the channel factories used to construct those channels, and the binding elements used to configure them.

Classes

  Class Description
Public class AddressHeader Represents a header that encapsulates an address information item used to identify or interact with an endpoint.
Public class AddressHeaderCollection Represents a thread-safe, read-only collection of address headers.
Public class AddressingVersion The WS-Addressing version associated with a SOAP message or understood by an endpoint.
Public class BinaryMessageEncodingBindingElement The binding element that specifies the .NET Binary Format for XML used to encode messages.
Public class Binding Contains the binding elements that specify the protocols, transports, and message encoders used for communication between clients and services.
Public class BindingContext Provides information about the addresses, bindings, binding elements and binding parameters required to build the channel factories on a Silverlight 5 client.
Public class BindingElement The elements of the bindings that build the channel factories for various types of channels that are used to process outgoing messages on a Silverlight client.
Public class BindingElementCollection Represents the collection of binding elements used in a binding.
Public class BindingParameterCollection Represents a collection of binding parameters that store information used by binding elements to build factories.
Public class BodyWriter Represents the writer of the message body.
Public class BufferManager When implemented in a derived class, you can use the BufferManager class to manage a buffer pool. The pool and its buffers are created when you instantiate this class and destroyed when the buffer pool is reclaimed by garbage collection. Every time you need to use a buffer, you take one from the pool, use it, and return it to the pool when done. This process is much faster and uses fewer resources than creating and destroying a buffer every time you need to use one.
Public class ChannelBase Provides the base implementation for custom channels.
Public class ChannelFactoryBase Provides a common base implementation for all custom channel factories.
Public class ChannelFactoryBase<TChannel> Provides a common base implementation for channel factories on the client to create channels of a specified type connected to a specified address.
Public class ChannelManagerBase Provides a base implementation for managing the default timeouts that are associated with channel and listener factories.
Public class ChannelParameterCollection Represents a collection of channel parameters.
Public class CommunicationObject Provides a common base implementation for the basic state machine common to all communication-oriented objects in the system, including channels and the channel factories.
Public class ConnectionOrientedTransportBindingElement An abstract class that supplements the base TransportBindingElement class with additional properties that are common to connection-oriented transports, such as TCP.
Public class CustomBinding Defines a binding from a list of binding elements.
Public class FaultConverter Converts exceptions thrown by a channel into SOAP fault messages that conform to the channel's protocol.
Public class HttpCookieContainerBindingElement Enables management of how HTTP cookies are handled in HTTP requests and responses.
Public class HttpRequestMessageProperty Provides access to the HTTP request to access and respond to the additional information that is made available for requests over the HTTP protocol.
Public class HttpResponseMessageProperty Provides access to the HTTP response in order to access and respond to the additional information made available for requests over the HTTP protocol.
Public class HttpsTransportBindingElement Represents the binding element used to specify an HTTPS transport for transmitting messages.
Public class HttpTransportBindingElement Represents the binding element used to specify an HTTP transport for transmitting messages.
Public class LocalClientSecuritySettings Specifies local client security settings.
Public class Message Represents the unit of communication between endpoints in a distributed environment.
Public class MessageBuffer Represents a memory buffer that stores an entire message for future consumption.
Public class MessageEncoder The encoder is the component that is used to write messages to a stream and to read messages from a stream.
Public class MessageEncoderFactory An abstract base class that represents the factory for producing message encoders that can read messages from a stream and write them to a stream for various types of message encoding.
Public class MessageEncodingBindingElement The binding element that specifies the message version used to encode messages.
Public class MessageFault Represents an in-memory representation of a SOAP fault that can be passed to CreateMessage to create a message that contains a fault.
Public class MessageHeader Represents the content of a SOAP header.
Public class MessageHeaderInfo Represents system information regarding a SOAP message header.
Public class MessageHeaders Represents a collection of message headers for a message. This class cannot be inherited.
Public class MessageProperties Represents a set of properties for a message. This class cannot be inherited.
Public class MessageVersion Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.
Public class PollingDuplexBindingElement Represents the binding element that enables duplex communication between a Silverlight 5 client and a service.
Public class RequestContext Provides a reply that is correlated to an incoming request.
Public class SecurityBindingElement An abstract class that, when implemented, represents a binding element that supports channel SOAP message security.
Public class TcpConnectionPoolSettings Represents properties that control the behavior of the TCP connection pool.
Public class TcpTransportBindingElement Represents the binding element for the Transmission Control Protocol (TCP) transport.
Public class TextMessageEncodingBindingElement The binding element that specifies the character encoding and message versioning used for text-based SOAP messages.
Public class TransportBindingElement An abstract base class that represents a transport binding element.
Public class TransportSecurityBindingElement Represents a custom binding element that supports mixed-mode security (such as optimized message security over a secure transport).
Public class WebBodyFormatMessageProperty Stores and retrieves the message encoding format of incoming and outgoing messages for the composite Web message encoder.

Interfaces

  Interface Description
Public interface IChannel Defines the basic interface that all channel objects must implement. It requires that they implement the state machine interface shared by all communication objects and that they implement a method to retrieve objects from the channel stack.
Public interface IChannelFactory Defines the interface that must be implemented by a channel factory to produce channels.
Public interface IChannelFactory<TChannel> Defines the interface that must be implemented by channel factories that create type-specific channels.
Public interface IDuplexChannel Defines the interface that a channel must implement to both send and receive messages.
Public interface IDuplexSession Defines the interface for the session implemented on each side of a bi-directional communication between messaging endpoints.
Public interface IDuplexSessionChannel Defines the interface that associates a duplex channel with a session.
Public interface IHttpCookieContainerManager Defines the interface used to provide access to an optional instance of CookieContainer that can be used to manage a collection of cookies.
Public interface IInputChannel Defines the interface that a channel must implement to receive a message.
Public interface IInputSession Defines the interface for the session implemented on the receiving side of a one-way communication between messaging endpoints.
Public interface IInputSessionChannel Defines the interface that associates an input channel with a session.
Public interface IMessageProperty Defines an interface that you can implement to describe a set of properties for a message.
Public interface IOutputChannel Defines the interface that a channel must implement to send a message.
Public interface IOutputSession Defines the interface for the session implemented on the sending side of a one-way communication between messaging endpoints.
Public interface IOutputSessionChannel Defines the interface that associates an output channel with a session.
Public interface IRequestChannel Defines the contract that a channel must implement to be on the requesting side of a request-reply communication between messaging endpoints.
Public interface IRequestSessionChannel Defines the interface to associate a request channel with a session.
Public interface ISession Defines the interface to establish a shared context among parties that exchange messages by providing an ID for the communication session.
Public interface ISessionChannel<TSession> Defines the interface that associates a channel with a specific type of session.

Enumerations

  Enumeration Description
Public enumeration MessageState Specifies the status of a message.
Public enumeration PollingDuplexMode Specifies the format of server responses to client polling when the communication is configured for duplex polling.
Public enumeration WebContentFormat Specifies the message formats to which content types of incoming messages can be mapped.