System.ServiceModel namespaces

System.ServiceModel and its child namespaces (System.ServiceModel.Channels, System.ServiceModel.Description, System.ServiceModel.Dispatcher, System.ServiceModel.Security, and System.ServiceModel.Security.Tokens) contain the types necessary to build Windows Communication Foundation (WCF) service and client applications.

This topic displays the types in the System.ServiceModel namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.

Types supported in the .NET for Windows Store apps

Description

ActionNotSupportedException

The exception that is thrown on the client when the action related to the operation invoked does not match any action of operations in the server.

BasicHttpBinding

Represents a binding that a service can use to configure and expose endpoints that are able to communicate with ASMX-based Web services and clients and other services that conform to the WS-I Basic Profile 1.1.

BasicHttpMessageCredentialType

Enumerates credential types the client can authenticate with when security is enabled in the BasicHttpBinding binding.

BasicHttpSecurity

Configures the security settings of a basicHttpBinding binding.

BasicHttpSecurityMode

Specifies the types of security that can be used with the system-provided BasicHttpBinding.

CallbackBehaviorAttribute

Configures a callback service implementation in a client application.

ChannelFactory

Creates and manages the channels that are used by clients to send messages to service endpoints.

ChannelFactory<TChannel>

A factory that creates channels of different types that are used by clients to send messages to variously configured service endpoints.

ClientBase<TChannel>

Provides the base implementation used to create client objects that can call services.

ClientBase<TChannel>.BeginOperationDelegate

A delegate that is used by InvokeAsync for calling asynchronous operations on the client.

ClientBase<TChannel>.ChannelBase<T>

Generic ChannelBase class.

ClientBase<TChannel>.EndOperationDelegate

A delegate that is invoked by InvokeAsync on successful completion of the call made by InvokeAsync to BeginOperationDelegate.

CommunicationException

Represents a communication error in either the service or client application.

CommunicationObjectAbortedException

The exception that is thrown when the call is to an ICommunicationObject object that has aborted.

CommunicationObjectFaultedException

The exception that is thrown when a call is made to a communication object that has faulted.

CommunicationState

Defines the states in which an ICommunicationObject can exist.

DataContractFormatAttribute

Instructs the infrastructure to use the DataContractSerializer.

DnsEndpointIdentity

Specifies the DNS identity of the server.

DuplexChannelFactory<TChannel>

Provides the means to create and manage duplex channels of different types that are used by clients to send and receive messages to and from service endpoints.

DuplexClientBase<TChannel>

Used to create a channel to a duplex service and associate that channel with a callback object.

EndpointAddress

Provides a unique network address that a client uses to communicate with a service endpoint.

EndpointAddressBuilder

A factory for producing new (immutable) endpoint addresses with specific property values.

EndpointIdentity

An abstract class that when implemented provides an identity that enables the authentication of an endpoint by clients that exchange messages with it.

EndpointNotFoundException

The exception that is thrown when a remote endpoint could not be found or reached.

EnvelopeVersion

Contains information related to the version of SOAP associated with a message and its exchange.

ExceptionDetail

Represents fault detail information.

FaultCode

Represents a SOAP fault code.

FaultContractAttribute

Specifies one or more SOAP faults that are returned when a service operation encounters processing errors.

FaultException

Represents a SOAP fault.

FaultException<TDetail>

Used in a client application to catch contractually-specified SOAP faults.

FaultReason

Provides a text description of a SOAP fault.

FaultReasonText

Represents the text of the reason of a SOAP fault.

HttpBindingBase

Specifies the base HTTP binding.

HttpClientCredentialType

Enumerates the valid credential types for HTTP clients.

HttpTransportSecurity

Represents the transport-level security settings for the WSHttpBinding.

IClientChannel

Defines the behavior of outbound request and request/reply channels used by client applications.

ICommunicationObject

Defines the contract for the basic state machine for all communication-oriented objects in the system, including channels, the channel managers, factories, listeners, and dispatchers, and service hosts.

IContextChannel

Defines the interface for the context control of a channel.

IDefaultCommunicationTimeouts

Defines the interface for specifying communication timeouts used by channels, channel managers such as channel listeners and channel factories, and service hosts.

IExtensibleObject<T>

Enable an object to participate in custom behavior, such as registering for events, or watching state transitions.

IExtension<T>

Enables an object to extend another object through aggregation.

IExtensionCollection<T>

A collection of the IExtension<T> objects that allow for retrieving the IExtension<T> by its type.

InstanceContext

Represents the context information for a service instance.

InvalidMessageContractException

Represents a message contract that is not valid.

MessageBodyMemberAttribute

Specifies that a member is serialized as an element inside the SOAP body.

MessageContractAttribute

Defines a strongly-typed class that corresponds to a SOAP message.

MessageContractMemberAttribute

Declares the base members for MessageBodyMemberAttribute and MessageHeaderAttribute.

MessageCredentialType

Enumerates the valid message credential types.

MessageHeader<T>

Represents the content of a SOAP header.

MessageHeaderException

The exception that is thrown when the expectations regarding headers of a SOAP message are not satisfied when the message is processed.

MessageParameterAttribute

Controls the name of the request and response parameter names. Cannot be used with Message or message contracts.

MessageSecurityOverTcp

Configures the message-level security for a message sent using the TCP transport.

MessageSecurityVersion

An abstract container class that, when implemented by several of its static properties, contains version information for security components.

NetHttpBinding

Specifies settings for NetHttpBinding.

NetHttpMessageEncoding

Specifies the Net Http message encoding.

NetTcpBinding

A secure, reliable binding suitable for cross-machine communication.

NetTcpSecurity

Specifies the types of transport-level and message-level security used by an endpoint configured with a NetTcpBinding.

OperationContext

Provides access to the execution context of a service method.

OperationContextScope

Creates a block within which an OperationContext object is in scope.

OperationContractAttribute

Indicates that a method defines an operation that is part of a service contract in an application.

OperationFormatStyle

Represents the SOAP style that determines how the WSDL metadata for the service is formatted.

ProtocolException

The exception seen on the client that is thrown when communication with the remote party is impossible due to mismatched data transfer protocols.

QuotaExceededException

The exception that is thrown when a message quota has been exceeded.

SecurityMode

Determines the security settings for a binding.

ServerTooBusyException

The exception that is thrown when a server is too busy to accept a message.

ServiceActivationException

The exception that is thrown when a service fails to activate.

ServiceContractAttribute

Indicates that an interface or a class defines a service contract in an application.

ServiceKnownTypeAttribute

Specifies known types to be used by a service when serializing or deserializing.

SpnEndpointIdentity

Represents a service principal name (SPN) for an identity when the binding uses Kerberos.

TcpClientCredentialType

Enumerates the valid credential types for TCP clients.

TcpTransportSecurity

Provides properties that control authentication parameters and protection level for the TCP transport.

TransferMode

Indicates whether a channel uses streamed or buffered modes for the transfer of request and response messages.

UnknownMessageReceivedEventArgs

Contains the message received by a channel and cannot be associated with any callback operation or pending request.

UpnEndpointIdentity

Represents a user principal name (UPN) for an identity which is used when the binding utilizes the SSPINegotiate authentication mode.

XmlSerializerFormatAttribute

Instructs the infrastructure to use the XmlSerializer instead of the XmlObjectSerializer.

Types supported in the .NET for Windows Store apps

Description

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.

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 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.

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.

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.

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.

CompressionFormat

Specifies the channels compression format.

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.

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.

HttpRequestMessageProperty

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

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.

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.

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.

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.

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.

LocalClientSecuritySettings

Specifies local client security settings.

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.

MessageFault

Represents an in-memory representation of a SOAP fault that can be passed to Message.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.

MessageState

Specifies the status of a message.

MessageVersion

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

RequestContext

Provides a reply that is correlated to an incoming request.

SecurityBindingElement

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

SecurityHeaderLayout

Describes the layout of the security header.

SslStreamSecurityBindingElement

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

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.

TransportBindingElement

An abstract base class that represents a transport binding element.

TransportSecurityBindingElement

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

WebSocketTransportSettings

Represents settings for web socket transport.

WebSocketTransportUsage

Specifies an enumeration of WebSocket transport usage.

WindowsStreamSecurityBindingElement

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

Types supported in the .NET for Windows Store apps

Description

ClientCredentials

Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.

ContractDescription

Describes a contract that specifies what an endpoint communicates to the outside world.

DataContractSerializerOperationBehavior

Represents the run-time behavior of the DataContractSerializer.

FaultDescription

Represents a SOAP fault.

FaultDescriptionCollection

A collection of FaultDescription objects that you can use to obtain information about SOAP faults in a contract.

IContractBehavior

Implements methods that can be used to extend run-time behavior for a contract in either a service or client application.

IEndpointBehavior

Implements methods that can be used to extend run-time behavior for an endpoint in either a service or client application.

IOperationBehavior

Implements methods that can be used to extend run-time behavior for an operation in either a service or client application.

MessageBodyDescription

Represents the body of a SOAP message.

MessageDescription

Represents the description of a message.

MessageDescriptionCollection

Provides a collection that is used to store descriptions of the messages that make up an operation that belongs to a contract.

MessageDirection

Specifies the direction of the message.

MessageHeaderDescription

Represents a SOAP message header.

MessageHeaderDescriptionCollection

Represents a collection of MessageHeaderDescription objects.

MessagePartDescription

Represents a description of a SOAP message part.

MessagePartDescriptionCollection

Represents a collection of MessagePartDescription objects.

MessagePropertyDescription

Represents a message property specified by the MessagePropertyAttribute.

MessagePropertyDescriptionCollection

Represents a collection of MessagePropertyDescription objects.

OperationDescription

Represents the description of a contract operation that provides a description of the messages that make up the operation.

OperationDescriptionCollection

Represents a collection that contains operation descriptions.

ServiceEndpoint

Represents the endpoint for a service that allows clients of the service to find and communicate with the service.

Types supported in the .NET for Windows Store apps

Description

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.

ClientRuntime

The insertion point for classes that extend the functionality of client objects for all messages handled by a client application.

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.

EndpointDispatcher

The run-time object that exposes properties that enable the insertion of run-time extensions or modifications for messages in service applications.

IClientMessageFormatter

Defines methods that are used to control the conversion of messages into objects and objects into messages for client applications.

IClientMessageInspector

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.

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.

Types supported in the .NET for Windows Store apps

Description

BasicSecurityProfileVersion

Provides a message version that corresponds to the Basic Security Profile specification.

HttpDigestClientCredential

Used for digest authentication of HTTP clients.

MessageSecurityException

Represents an exception that occurred when there is something wrong with the security applied on a message.

SecureConversationVersion

Contains the set of supported WS-SecureConversation versions. This is an abstract class.

SecurityAccessDeniedException

Represents the security exception that is thrown when a security authorization request fails.

SecurityPolicyVersion

Contains the set of supported WS-SecurityPolicy versions. This is an abstract class.

SecurityVersion

Contains the set of supported WS-Security versions. This is an abstract class.

TrustVersion

Contains the set of supported WS-Trust versions. This is an abstract class.

UserNamePasswordClientCredential

Represents a client credential based on user name and password.

WindowsClientCredential

Allows you to specify properties related to Windows credentials to be used to represent the client.

Types supported in the .NET for Windows Store apps

Description

SecureConversationSecurityTokenParameters

Represents the parameters for a secure conversation security token.

SecurityTokenParameters

An abstract class that when implemented represents security token parameters.

SupportingTokenParameters

Represents the parameters for supporting security tokens required by the security binding element.

UserNameSecurityTokenParameters

Represents the parameters for a user name security token.

Show:
© 2014 Microsoft