แก้ไข

แชร์ผ่าน


System.ServiceModel Namespace

Provides classes related to the service model.

Classes

ActionNotSupportedException

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

AddressAccessDeniedException

The exception that is thrown when access to the address is denied.

AddressAlreadyInUseException

The exception that is thrown when an address is unavailable because it is already in use.

BasicHttpBinding

Represents a binding that a Windows Communication Foundation (WCF) 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.

BasicHttpContextBinding

Provides a context-enabled binding for the BasicHttpBinding binding.

BasicHttpMessageSecurity

Configures message-level security settings for BasicHttpBinding.

BasicHttpsBinding

Specifies basic https binding settings.

BasicHttpSecurity

Configures the security settings of a basicHttpBinding binding.

BasicHttpsSecurity

Specifies basic https security settings.

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.

ChannelTerminatedException

This exception is typically thrown on the client when a channel is terminated due to server closing the associated connection.

ClientBase<TChannel>.ChannelBase<T>

Represents the generic ChannelBase class.

ClientBase<TChannel>.InvokeAsyncCompletedEventArgs

Stores the results from an asynchronous call made by the client.

ClientBase<TChannel>

Provides the base implementation used to create Windows Communication Foundation (WCF) client objects that can call services.

ClientCredentialsSecurityTokenManager

Manages security tokens for 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.

CorrelationActionMessageFilter

Provides a XAML-friendly implementation of a MessageFilter that filters on a single action.

CorrelationQuery

Represents a Where clause and a Select clause that identify the unique characteristics of a message so that it can be routed to the correct instance.

DataContractFormatAttribute

Instructs the Windows Communication Foundation (WCF) infrastructure to use the DataContractSerializer.

DeliveryRequirementsAttribute

Specifies the feature requirements that bindings must provide to the service or client implementation.

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.

Endpoint

Represents an endpoint declared in XAML.

EndpointAddress

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

EndpointAddress10

Provides a serializable type of endpoint address that is WS-Addressing V1 compliant and that enables it to be exposed as part of the service contract.

EndpointAddressAugust2004

Provides a serializable type of endpoint address that is compliant with the version of WS-Addressing published in August 2004 and that enables it to be exposed as part of the service contract.

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.

EndpointIdentityExtension

A markup extension for the EndpointIdentity class.

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.

ExceptionMapper

Defines the mapping to be used for translating exceptions to fault.

ExtensionCollection<T>

Represents a collection of extensions.

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.

FaultImportOptions

Indicates whether to use the XmlSerializer for reading and writing faults.

FaultReason

Provides a text description of a SOAP fault.

FaultReasonText

Represents the text of the reason of a SOAP fault.

FederatedMessageSecurityOverHttp

Configures the message-level security of the WSFederationHttpBinding binding.

HttpBindingBase

Specifies the base HTTP binding.

HttpTransportSecurity

Represents the transport-level security settings for the WSHttpBinding.

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.

MessageHeader<T>

Represents the content of a SOAP header.

MessageHeaderArrayAttribute

Specifies that the default wrapper element in the SOAP message must not be written around array types in a header element.

MessageHeaderAttribute

Specifies that a data member is a SOAP message 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.

MessagePropertyAttribute

Represents data that is passed locally with a custom message type but not serialized into a SOAP message.

MessageQuerySet

A set of MessageQuery objects and an associated string parameter. A correlation hash (InstanceKey) is computed from the results of the MessageQuery objects as well as the associated strings.

MessageSecurityOverHttp

Enables setting message-level security properties on the wsDualHttpBinding binding.

MessageSecurityOverMsmq

Enables setting message-level security properties on the NetMsmqBinding binding.

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.

MsmqBindingBase

The base class for NetMsmqBinding and MsmqIntegrationBinding.

MsmqException

Encapsulates errors returned by Message Queuing (MSMQ). This exception is thrown by the Message Queuing transport and the Message Queuing integration channel.

MsmqPoisonMessageException

Encapsulates the exception that is thrown when the channel detects that the message is a poison message.

MsmqTransportSecurity

The MsmqTransportSecurity class encapsulates the transport security settings for queued transports.

NamedPipeTransportSecurity

Provides properties that control protection level for a named pipe.

NetHttpBinding

Specifies settings for NetHttpBinding.

NetHttpsBinding

Specifies settings for NetHttpsBinding.

NetMsmqBinding

Represents a queued binding that is suitable for cross-machine communication.

NetMsmqSecurity

The NetMsmqSecurity class encapsulates the MSMQ security features available when using the NetMsmqBinding binding.

NetNamedPipeBinding

Provides a secure and reliable binding that is optimized for on-machine communication.

NetNamedPipeSecurity

Provides access to the security settings for endpoints configured with the named pipe binding.

NetPeerTcpBinding

Provides a secure binding for peer-to-peer network applications.

NetTcpBinding

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

NetTcpContextBinding

Provides a context-enabled binding for the NetTcpContextBinding binding.

NetTcpSecurity

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

NonDualMessageSecurityOverHttp

Represents the security settings of the wsHttpBinding binding.

OperationBehaviorAttribute

Specifies the local execution behavior of a service method.

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 Windows Communication Foundation (WCF) application.

OptionalReliableSession

Provides convenient access to whether a reliable session is enabled when using one of the predefined bindings where it is optional.

PeerHopCountAttribute

Specifies the peer hop count member of a SOAP message header block.

PeerMessagePropagationFilter

Defines the base class for peer channel message filters.

PeerNode

Defines the instance of a peer node used by an application participating in a specific peer mesh.

PeerNodeAddress

Specifies a type that contains the EndpointAddress for a peer node as well as an optional collection of multihoming IP addresses.

PeerResolver

Specifies a base type used to define the contract for the registration and resolution of a peer mesh ID to the endpoint addresses of nodes participating in the mesh.

PeerSecuritySettings

Contains the security settings associated with a peer channel, including the type of authentication used and the security used for the message transport.

PeerTransportSecuritySettings

Contains the security settings for a peer channel transport.

PoisonMessageException

An exception that is thrown when the message is deemed poison. A message is poisoned if it fails repeated attempts to deliver the message.

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.

ReceiveContextEnabledAttribute

This attribute can be applied to service operations to enable receive context behavior.

ReliableMessagingVersion

Contains the settings for the supported versions of the WS-ReliableMessaging protocol. This is an abstract class.

ReliableSession

Provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

RsaEndpointIdentity

Specifies an RSA identity for the service endpoint.

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.

ServiceAuthenticationManager

Represents a service authentication manager.

ServiceAuthorizationManager

Provides authorization access checking for service operations.

ServiceBehaviorAttribute

Specifies the internal execution behavior of a service contract implementation.

ServiceConfiguration

Represents a configurable property for the service.

ServiceContractAttribute

Indicates that an interface or a class defines a service contract in a Windows Communication Foundation (WCF) application.

ServiceHost

Provides a host for services.

ServiceHostBase

Extends the ServiceHostBase class to implement hosts that expose custom programming models.

ServiceHostingEnvironment

Provides information about the current hosting environment in which Windows Communication Foundation (WCF) services are running.

ServiceKnownTypeAttribute

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

ServiceSecurityContext

Represents the security context of a remote party. On the client, represents the service identity and, on the service, represents the client identity.

SpnEndpointIdentity

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

TcpTransportSecurity

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

TransactionFlowAttribute

Specifies whether a service operation accepts incoming transactions from a client.

TransactionProtocol

Specifies the transaction protocol used in flowing transactions.

UdpBinding

Represents a UDP binding.

UnixDomainSocketBinding
UnixDomainSocketSecurity
UnixDomainSocketTransportSecurity
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.

UriSchemeKeyedCollection

Provides a thread-safe collection that contains URIs that are keyed by their transport scheme name.

WebHttpBinding

A binding used to configure endpoints for Windows Communication Foundation (WCF) Web services that are exposed through HTTP requests instead of SOAP messages.

WebHttpSecurity

Specifies the types of security available to a service endpoint configured to receive HTTP requests.

WorkflowServiceHost

Provides host for workflow-based services.

WS2007FederationHttpBinding

A secure and interoperable binding that derives from WS2007HttpBinding and supports federated security.

WS2007HttpBinding

Represents an interoperable binding that derives from WSHttpBinding and provides support for the updated versions of the Security, ReliableSession, and TransactionFlow binding elements.

WSDualHttpBinding

A secure and interoperable binding that is designed for use with duplex service contracts that allows both services and clients to send and receive messages.

WSDualHttpSecurity

Specifies the security settings for the WSDualHttpBinding.

WSFederationHttpBinding

A secure and interoperable binding that supports federated security.

WSFederationHttpSecurity

Specifies the security settings for the WSFederationHttpBinding. This class cannot be inherited.

WSHttpBinding

Represents an interoperable binding that supports distributed transactions and secure, reliable sessions.

WSHttpBindingBase

Provides the base class with members common to the WSHttpBinding and the WSFederationHttpBinding.

WSHttpContextBinding

Provides a context-enabled binding for the WSHttpContextBinding.

WSHttpSecurity

Represents the security settings for the WSHttpBinding.

X509CertificateEndpointIdentity

Represents a certificate identity for the service endpoint. Clients that attempt to communicate with that service endpoint should authenticate the service based on the certificate provided in the endpoint identity.

XmlSerializerFormatAttribute

Instructs the Windows Communication Foundation (WCF) infrastructure to use the XmlSerializer instead of the XmlObjectSerializer.

XPathMessageQuery

A message query that evaluates XPath expressions to retrieve data from a message.

Interfaces

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.

IDuplexContextChannel

Defines the interface a client channel must implement to exchange messages in a duplex session.

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.

IOnlineStatus

Defines the properties and events used by network-enabled objects to indicate network availability.

IServiceChannel

Defines the interface for a service channel.

Enums

AddressFilterMode

Specifies the type of match semantics used by the dispatcher to route incoming messages to the correct endpoint.

AuditLevel

Specifies when to audit security events.

AuditLogLocation

Specifies the location where security-related event logs are written.

BasicHttpMessageCredentialType

Enumerates credential types 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.

BasicHttpsSecurityMode

Specifies the basic https security mode.

CacheSetting

Specifies an enumeration of cache settings.

CommunicationState

Defines the states in which an ICommunicationObject can exist.

ConcurrencyMode

Specifies whether a service class supports single-threaded or multi-threaded modes of operation.

DeadLetterQueue

Specifies the type of dead-letter queue to be used.

HostNameComparisonMode

Specifies how the host name should be used in URI comparisons when dispatching an incoming message to a service endpoint.

HttpClientCredentialType

Enumerates the valid credential types for HTTP clients.

HttpProxyCredentialType

Enumerates the valid credential types for HTTP proxy authentication.

ImpersonationOption

Specifies the impersonation behavior for a service operation on a service instance.

InstanceContextMode

Specifies the number of service instances available for handling calls that are contained in incoming messages.

MessageCredentialType

Enumerates the valid message credential types.

MsmqAuthenticationMode

Specifies the type of authentication used for the binding.

MsmqEncryptionAlgorithm

Contains the set of encryption algorithms that can be used to encrypt messages on the wire.

MsmqSecureHashAlgorithm

Contains the hashing algorithms that Message Queuing (MSMQ) can use to sign messages.

NetHttpMessageEncoding

Specifies the Net Http message encoding.

NetMsmqSecurityMode

The NetMsmqSecurityMode enumeration specifies security modes that can be used by the MSMQ transport.

NetNamedPipeSecurityMode

Specifies whether transport-level security is used with named pipes.

OperationFormatStyle

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

OperationFormatUse

Determines the format of the message.

PeerMessageOrigination

Indicates the network origin of a peer channel message.

PeerMessagePropagation

Indicates the recipient of a message sent over a peer channel.

PeerTransportCredentialType

Specifies the set of credential types used to authenticate a peer channel transport.

QueuedDeliveryRequirementsMode

The QueuedDeliveryRequirementsMode enumeration specifies queued delivery requirements.

QueueTransferProtocol

Indicates the protocol to be used in transferring messages between queue managers.

ReceiveErrorHandling

Specifies handling for poison messages.

ReleaseInstanceMode

Specifies when the system recycles the service object in the operation invocation process.

SecurityMode

Determines the security settings for a binding.

SessionMode

Specifies the values available to indicate the support for reliable sessions that a contract requires or supports.

TcpClientCredentialType

Enumerates the valid credential types for TCP clients.

TransactionFlowOption

An enumeration that is used with the TransactionFlowAttribute to specify the transaction flow policy for a service operation.

TransferMode

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

UnixDomainSocketClientCredentialType
UnixDomainSocketSecurityMode
WebHttpSecurityMode

Defines the modes of security that can be used to configure a service endpoint to receive HTTP requests.

WSDualHttpSecurityMode

Specifies the different security modes for WSDualHttpBinding.

WSFederationHttpSecurityMode

Specifies the different security modes for WSFederationHttpBinding.

WSMessageEncoding

Specifies whether Message Transmission Optimization Mechanism (MTOM) or text is used to encode SOAP messages.

Delegates

ClientBase<TChannel>.BeginOperationDelegate

A delegate that is used by InvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object) for calling asynchronous operations on the client.

ClientBase<TChannel>.EndOperationDelegate

Represents a delegate that is invoked by InvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object) on successful completion of the call made by InvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object) to ClientBase<TChannel>.BeginOperationDelegate.