Bearbeiten

Freigeben über


System.ServiceModel.Channels Namespace

Provides classes related to service model channels.

Classes

AddressHeader

Represents a header that encapsulates an address information item used to identify or interact with an endpoint.

AddressHeaderCollection

Represents a thread-safe, read-only collection of address headers.

AddressingVersion

The WS-Addressing version associated with a SOAP message or understood by an endpoint.

ApplicationContainerSettings

Specifies application container settings.

AsymmetricSecurityBindingElement

Represents a custom binding element that supports channel security using asymmetric encryption. This binding element signs the message using the sender's authentication token and encrypts the message using the recipient's token.

BinaryMessageEncodingBindingElement

The binding element that specifies the .NET Binary Format for XML used to encode messages.

Binding

Contains the binding elements that specify the protocols, transports, and message encoders used for communication between clients and services.

BindingContext

Provides information about the addresses, bindings, binding elements and binding parameters required to build the channel listeners and channel factories.

BindingElement

The elements of the bindings that build the channel factories and channel listeners for various types of channels that are used to process outgoing and incoming messages.

BindingElementCollection

Represents the collection of binding elements used in a binding.

BindingParameterCollection

Represents a collection of binding parameters that store information used by binding elements to build factories.

BodyWriter

Represents the writer of the message body.

BufferManager

Many Windows Communication Foundation (WCF) features require the use of buffers, which are expensive to create and destroy. 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 than creating and destroying a buffer every time you need to use one.

ByteStreamMessage

Represents a byte stream message.

ByteStreamMessageEncodingBindingElement

The binding element that specifies the message encoding as a stream of bytes and has the option to specify the character encoding.

CallbackContextMessageProperty

Represents the contents of the wsc:CallbackContext message header when using a channel that supports the context exchange protocol.

ChannelBase

Provides the base implementation for custom channels.

ChannelFactoryBase

Provides a common base implementation for all custom channel factories.

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.

ChannelListenerBase

Provides a common base implementation for channel listeners on the service.

ChannelListenerBase<TChannel>

Provides a common base implementation for channel listeners on a service to accept channels produced by the client factories.

ChannelManagerBase

Provides a base implementation for managing the default timeouts that are associated with channel and listener factories.

ChannelParameterCollection

Represents a collection of channel parameters.

ChannelPoolSettings

Specifies quotas for channels that belong to a pool of channels used by a service endpoint.

ClientWebSocketFactory

Represents a client web socket factory.

CommunicationObject

Provides a common base implementation for the basic state machine common to all communication-oriented objects in the system, including channels, listeners, and the channel and listener factories.

CompositeDuplexBindingElement

Represents the binding element that is used when the client must expose an endpoint for the service to send messages back to the client.

CompositeDuplexBindingElementImporter

Provides a policy import extension for mapping policy assertions into Windows Communication Foundation (WCF) bindings in which the client must expose an endpoint for the service to send messages back to the client.

ConnectionOrientedTransportBindingElement

An abstract class that supplements the base TransportBindingElement with additional properties that are common to connection-oriented transports such as TCP and named pipes.

ContextBindingElement

Provides a protection level and an exchange mechanism as part of the context of a binding element and the functionality to build the channel listeners and factories.

ContextBindingElementImporter

Enables policy and WSDL extensions and contracts to be imported.

ContextMessageProperty

A property used to communicate context between the application and channel layers on either the client or the service.

CorrelationCallbackMessageProperty

Provides an abstract base class for deferring correlation key calculation until all of the correlation data is available.

CorrelationDataDescription

Allows a particular channel to opt-in to providing correlation data and specify the conditions under which the data is provided, such as whether it is provided by default, optionally, on send, before send, or on receive.

CorrelationDataMessageProperty

Provides a message property that accumulates additional correlation information for a message as protocols are applied, such as when data is returned from a MessageQuerySet over the incoming message.

CorrelationKey

Represents an association between a piece of application data and an instance.

CorrelationMessageProperty

Provides a message property that contains correlation instance keys after applying the correlation calculation to a message.

CustomBinding

Defines a binding from a list of binding elements.

FaultConverter

Converts exceptions thrown by a channel into SOAP fault messages that conform to the channel's protocol.

HttpCookieContainerBindingElement

Enables management of how HTTP cookies are handled in HTTP requests and responses.

HttpMessageHandlerFactory

Represents http message handlers for a factory.

HttpMessageSettings

A binding parameter that can be used with the HTTP Transport to specify the setting for HttpMessage support.

HttpRequestMessageExtensionMethods

Provides extension methods for accessing user principal associated with the HTTP request message.

HttpRequestMessageProperty

Provides access to the HTTP request to access and respond to the additional information made available for requests over the HTTP protocol.

HttpResponseMessageExtensionMethods

A static extension methods class for getting a Message instance from an HttpResponseMessage instance.

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.

HttpsTransportBindingElement

Represents the binding element used to specify an HTTPS transport for transmitting messages.

HttpTransportBindingElement

Represents the binding element used to specify an HTTP transport for transmitting messages.

InvalidChannelBindingException

The exception that is thrown when the binding specified is not consistent with the contract requirements for the service.

JavascriptCallbackResponseMessageProperty

Enables the use of a JavaScript callback in a service operation response using JSON Padding (JSONP).

LocalClientSecuritySettings

Specifies local client security settings.

LocalServiceSecuritySettings

Provides local service security properties that can be set.

Message

Represents the unit of communication between endpoints in a distributed environment.

MessageBuffer

Represents a memory buffer that stores an entire message for future consumption.

MessageEncoder

The encoder is the component that is used to write messages to a stream and to read messages from a stream.

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.

MessageEncodingBindingElement

The binding element that specifies the message version used to encode messages.

MessageEncodingBindingElementImporter

Converts WSDL-based policies and contracts about message encoding into descriptions of the binding elements that can implement these policies for the service.

MessageExtensionMethods

A static extension methods class for getting either an HttpRequestMessage or HttpResponseMessage instance from a Message instance.

MessageFault

Represents an in-memory representation of a SOAP fault that can be passed to CreateMessage to create a message that contains a fault.

MessageHeader

Represents the content of a SOAP header.

MessageHeaderInfo

Represents system information regarding a SOAP message header.

MessageHeaders

Represents a collection of message headers for a message. This class cannot be inherited.

MessageProperties

Represents a set of properties for a message. This class cannot be inherited.

MessageVersion

Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.

MsmqBindingElementBase

The base class for MsmqIntegrationBindingElement and MsmqTransportBindingElement.

MsmqMessageProperty

The MsmqMessageProperty class encapsulates the properties of a message that has been read from a queue.

MsmqTransportBindingElement

Represents the binding element used to specify the queuing communication properties for a Windows Communication Foundation (WCF) service that uses the native Message Queuing (MSMQ) protocol.

MtomMessageEncodingBindingElement

The binding element that specifies the encoding and versioning used for Message Transmission Optimization Mechanism (MTOM) messages.

NamedPipeConnectionPoolSettings

Represents settings that control the behavior of the named pipe connection pool.

NamedPipeSettings

Specifies named pipe settings.

NamedPipeTransportBindingElement

Represents the binding element for the named pipe transport.

NetFramingTransportChannelFactory<TChannel>
NetworkInterfaceMessageProperty

Represents a network interface message property.

OneWayBindingElement

Enables packet routing and the use of one-way methods.

OneWayBindingElementImporter

Converts WSDL-based policies in a OneWayBindingElement into descriptions of the binding elements that can implement these policies for the service.

PeerCustomResolverBindingElement

Defines the binding element used to create a custom peer resolver.

PeerResolverBindingElement

Defines the abstract base class for binding elements used to create peer resolver objects.

PeerTransportBindingElement

Defines the binding element used to create a peer message transport channel.

PnrpPeerResolverBindingElement

Defines the binding element used to create a Peer Name Resolution Protocol (PNRP) peer resolver.

PrivacyNoticeBindingElement

Represents the binding element that contains the privacy policy for the WS-Federation binding.

PrivacyNoticeBindingElementImporter

Imports WSDL-based policies and contracts about privacy notices into descriptions of the binding elements that can implement these policies for the service.

ReceiveContext

Derive from this class to implement a custom state machine for receive context functionality.

RedirectionDuration

Represents the duration that a SOAP redirection is in effect.

RedirectionException

Represents an error that occurs in redirection processing.

RedirectionLocation

Represents the address where the subsequent requests should be redirected.

RedirectionScope

Represents redirection scope.

RedirectionType

A type that represents the type of redirection.

ReliableSessionBindingElement

Represents the binding element that can produce the sending and receiving channels required for a reliable session between endpoints.

ReliableSessionBindingElementImporter

Maps reliable session binding elements to and from representations of their corresponding policy assertions in metadata. This class cannot be inherited.

RemoteEndpointMessageProperty

Makes available the client IP address and port number associated with the remote endpoint from which a message was sent.

RequestContext

Provides a reply that is correlated to an incoming request.

RetryException

Represents a retry exception that can be used by a messaging host such as WorkflowServiceHost to communicate any cancellation of an attempted operation to the client.

SecurityBindingElement

An abstract class that, when implemented, represents a binding element that supports channel SOAP message security.

SecurityBindingElementImporter

Provides an extensibility point for extending the standard security policy import.

SessionOpenNotification

Represents an open session notification used to update message properties.

SslStreamSecurityBindingElement

Represents a custom binding element that supports channel security using an SSL stream.

StandardBindingImporter

Provides an extensibility point for mapping WSDL contracts and policy assertions into Windows Communication Foundation (WCF) standard bindings.

StreamBodyWriter

An abstract base class used to create custom BodyWriter classes that can be used to a message body as a stream.

StreamSecurityUpgradeAcceptor

To implement a custom security upgrade acceptor, inherit from this abstract base class.

StreamSecurityUpgradeInitiator

To implement a security upgrade initiator, inherit from this abstract base class.

StreamSecurityUpgradeProvider

Implements a custom security upgrade provider, inherited from this abstract base class.

StreamUpgradeAcceptor

To implement a custom upgrade acceptor, inherited from this abstract base class.

StreamUpgradeBindingElement

Adds a custom stream upgrade provider to a custom binding.

StreamUpgradeInitiator

To implement a custom upgrade initiator, inherit from this abstract base class.

StreamUpgradeProvider

Implements a custom upgrade provider, inherited from this abstract base class.

SymmetricSecurityBindingElement

Represents a custom binding element that supports channel security using symmetric encryption.

TcpConnectionPoolSettings

Represents properties that control the behavior of the TCP connection pool.

TcpTransportBindingElement

Represents the binding element for the TCP transport.

TextMessageEncodingBindingElement

The binding element that specifies the character encoding and message versioning used for text-based SOAP messages.

TransactionFlowBindingElement

Represents the configuration element that specifies transaction flow support for a binding. This class cannot be inherited.

TransactionFlowBindingElementImporter

Imports the transaction policy (WS-Policy assertions) of a service endpoint, adds implementing binding elements to the binding on the client, and transaction flow attributes to the appropriate operations on the service's proxy. This class cannot be inherited.

TransactionMessageProperty

Allows a custom channel, which uses a proprietary transaction flow mechanism, to inject its transaction into the Windows Communication Foundation (WCF) framework. This class cannot be inherited.

TransportBindingElement

An abstract base class that represents a transport binding element.

TransportBindingElementImporter

Imports standard transport binding elements from Web Services Description Language (WSDL) documents with attached policy expressions.

TransportSecurityBindingElement

Represents a custom binding element that supports mixed-mode security (such as, optimized message security over a secure transport).

UdpRetransmissionSettings

Specifies UDP retransmission settings.

UdpTransportBindingElement

Represents a UDP transport binding element.

UdpTransportImporter

Represents a UDP transport importer.

UnderstoodHeaders

Represents a collection of message headers that are understood. This class cannot be inherited.

UnixDomainSocketConnectionPoolSettings
UnixDomainSocketTransportBindingElement
UnixPosixIdentityBindingElement
UseManagedPresentationBindingElement

A binding element used to communicate with a CardSpace Security Token Service that supports the CardSpace profile of WS-Trust.

UseManagedPresentationBindingElementImporter

Converts WSDL-based policies for UseManagedPresentationBindingElements into descriptions of the binding elements that can implement these policies for the service.

WebBodyFormatMessageProperty

Stores and retrieves the message encoding format of incoming and outgoing messages for the composite Web message encoder.

WebContentTypeMapper

Specifies the format to which the content type of an incoming message is mapped.

WebMessageEncodingBindingElement

Enables plain-text XML, JavaScript Object Notation (JSON) message encodings and "raw" binary content to be read and written when used in a Windows Communication Foundation (WCF) binding.

WebSocketMessageProperty

Represents a web socket message property.

WebSocketTransportSettings

Represents settings for web socket transport.

WindowsStreamSecurityBindingElement

Represents the binding element used to specify Windows stream security settings.

WrappedOptions

Contains information required to perform schema importation using the XmlSerializer and ServiceDescriptionImporter infrastructure.

XmlSerializerImportOptions

Contains information needed to perform schema importation using the XmlSerializer and ServiceDescriptionImporter infrastructure.

Interfaces

IAnonymousUriPrefixMatcher

Implement this interface to register custom, anonymous URI prefixes.

IBindingDeliveryCapabilities

Defines the interface that bindings must implement to describe and advertise the capabilities that clients and services may require.

IBindingMulticastCapabilities

Defines the optional interface that a binding can implement to specify whether the service it configures has multicast capabilities.

IBindingRuntimePreferences

Defines the optional contract that a binding can implement to specify whether incoming requests are handled synchronously or asynchronously by the service.

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.

IChannelFactory

Defines the interface that must be implemented by a channel factory to produce channels.

IChannelFactory<TChannel>

Defines the interface that must be implemented by channel factories that create type-specific channels.

IChannelListener

Defines the interface that must be implemented by a channel listener to accept channels.

IChannelListener<TChannel>

Defines the interface that must be implemented by channel listeners to accept type-specific channels.

IConnection
IConnectionInitiator
IConnectionPoolSettings
IContextBindingElement

Defines the interface for a binding element that supports context exchange protocols.

IContextManager

Defines an interface that allows you to get and set the context on the channel.

ICorrelationDataSource

Provides a property that returns a description of all of the correlation data that a channel can supply.

IDuplexChannel

Defines the interface that a channel must implement to both send and receive messages.

IDuplexSession

Defines the interface for the session implemented on each side of a bi-directional communication between messaging endpoints.

IDuplexSessionChannel

Defines the interface that associates a duplex channel with a session.

IHttpCookieContainerManager

Represents the cookie container manager.

IInputChannel

Defines the interface that a channel must implement to receive a message.

IInputSession

Defines the interface for the session implemented on the receiving side of a one-way communication between messaging endpoints.

IInputSessionChannel

Defines the interface that associates an input channel with a session.

IMessageProperty

Defines an interface that you can implement to describe a set of properties for a message.

IOutputChannel

Defines the interface that a channel must implement to send a message.

IOutputSession

Defines the interface for the session implemented on the sending side of a one-way communication between messaging endpoints.

IOutputSessionChannel

Defines the interface that associates an output channel with a session.

IReceiveContextSettings

An interface that enables you to set receive context settings.

IReplyChannel

Defines the interface that a channel must implement to be on the receiving side of a request-reply communication between messaging endpoints.

IReplySessionChannel

Defines the interface to associate a reply channel with a session.

IRequestChannel

Defines the contract that a channel must implement to be on the requesting side of a request-reply communication between messaging endpoints.

IRequestSessionChannel

Defines the interface to associate a request channel with a session.

ISecurityCapabilities

Defines the contract for specifying the security capabilities for bindings.

ISession

Defines the interface to establish a shared context among parties that exchange messages by providing an ID for the communication session.

ISessionChannel<TSession>

Defines the interface that associates a channel with a specific type of session.

ITransactedBindingElement

Represents an interface that should be implemented by binding elements that require the dispatcher to create a transaction before dispatching to the service method.

ITransportCompressionSupport
ITransportTokenAssertionProvider

Provides a transport token assertion (for example, an HTTPS token assertion) for use in policy exports.

IWebSocketCloseDetails

Represents the details of the close status of the web socket connection.

Enums

CompressionFormat

Specifies the channels compression format.

ContextExchangeMechanism

Specifies whether an HTTP cookie or a SOAP header is the mechanism used to exchange context for a conversation between a client and service.

DeliveryFailure

Specifies the possible types of delivery failure for a message read from the queue.

DeliveryStatus

An enumeration that specifies the delivery status of a message when the delivery of the message is in doubt, or when the message was not delivered.

MessageState

Specifies the status of a message.

ReceiveContextState

Represents the possible states for the receive context state machine.

SecurityHeaderLayout

Describes the layout of the security header.

SupportedAddressingMode

Specifies whether a service supports sending responses to anonymous addresses only, to non-anonymous addresses only, or to both.

TransferSession

Determines if the contract for the transfer of messages from a client to an application requires a session and whether the delivery of messages must preserve the order in which operations are called by the client.

WebContentFormat

Specifies the message formats to which content types of incoming messages can be mapped.

WebSocketTransportUsage

Specifies an enumeration of WebSocket transport usage.