System.ServiceModel Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Contains the classes, enumerations, and interfaces necessary to build Silverlight client applications that can be used to access distributed applications.
Classes
Class | Description | |
---|---|---|
ActionNotSupportedException | This exception is thrown on the client when the action related to the invoked operation does not match the action of any operation available in the service. | |
BasicHttpBinding | Represents a binding that a Silverlight 5 client can use to configure endpoints that can communicate with ASMX-based Web services and other services that conform to the WS-I Basic Profile 1.1. | |
BasicHttpSecurity | Specifies the security used for a Silverlight client configured with a BasicHttpBinding. | |
CallbackBehaviorAttribute | Configures a callback service implementation in a Silverlight 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 Silverlight 5 client objects (proxies) that can call services. | |
ClientBase<TChannel>.ChannelBase<T> | This class is used by automatically generated client proxies to call services and should not be used otherwise. | |
ClientBase<TChannel>.InvokeAsyncCompletedEventArgs | Stores the results from an asynchronous call made by the client. | |
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. | |
DataContractFormatAttribute | Instructs the Silverlight 5 infrastructure to use the DataContractSerializer. | |
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> | Provides the base implementation from which Silverlight 5 client objects can call duplex services. | |
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. | |
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. | |
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. | |
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. | |
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 a Silverlight application. | |
PollingDuplexHttpBinding | Represents a binding that a Silverlight 5 client can use to configure endpoints that can communicate with Windows Communication Foundation (WCF) services that are similarly configured for duplex communication with a polling client. | |
PollingDuplexHttpSecurity | Specifies the security used for a Silverlight client configured with a PollingDuplexHttpBinding. | |
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. | |
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 a Silverlight client application. | |
ServiceKnownTypeAttribute | Specifies known types to be used by a service when serializing or deserializing. | |
UnknownMessageReceivedEventArgs | Contains the message received by a channel and cannot be associated with any pending request. | |
XmlSerializerFormatAttribute | Instructs the Silverlight 5 infrastructure to use the XmlSerializer instead of the XmlObjectSerializer to serialize a method or class. |
Interfaces
Interface | Description | |
---|---|---|
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 the communication time-outs used by channels and channel managers, such as channel factories. | |
IExtensibleObject<T> | Enables 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> objects by their type. |
Delegates
Delegate | Description | |
---|---|---|
ClientBase<TChannel>.BeginOperationDelegate | A delegate that is used by InvokeAsync(BeginOperationDelegate, array<Object[], EndOperationDelegate, SendOrPostCallback, Object) for calling asynchronous operations on the client. | |
ClientBase<TChannel>.EndOperationDelegate | A delegate that is invoked by InvokeAsync(BeginOperationDelegate, array<Object[], EndOperationDelegate, SendOrPostCallback, Object) on successful completion of the call made by InvokeAsync(BeginOperationDelegate, array<Object[], EndOperationDelegate, SendOrPostCallback, Object) to ClientBase<TChannel>.BeginOperationDelegate. |
Enumerations
Enumeration | Description | |
---|---|---|
BasicHttpMessageCredentialType | Enumerates credential types that the client can authenticate with when security is enabled in the BasicHttpBinding binding. | |
BasicHttpSecurityMode | Specifies the types of security that can be used with the system-provided BasicHttpBinding binding. | |
CommunicationState | Defines the states in which an ICommunicationObject can exist. | |
OperationFormatStyle | Represents the SOAP style that determines how the WSDL metadata for the service is formatted. | |
PollingDuplexHttpSecurityMode | Specifies the types of security that can be used with the system-provided PollingDuplexHttpBinding. | |
TransferMode | Indicates whether a channel uses streamed or buffered modes for the transfer of request and response messages. |