Expand Minimize

TransferSession Enumeration

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.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public enum class TransferSession

Member nameDescription
NoneSpecifies that a session is not required to interact with the services on this contract.
OrderedSpecifies that a session with ordered message delivery guarantees is required to interact with the services on this contract.
UnorderedSpecifies that a session with unordered message delivery guarantees is sufficient to interact with the services on this contract.

The TransferSession enumerations are typically used in association with a service contract. When a client sends messages to a remote application or service to call operations, TransferSession is used to determine if a session is required to interact with the service and whether the messages used to invoke the operations at a service must arrive in the same order in which they were sent.

Message delivery between client and service requires a session to preserve the order in which operations are called by the client. If there is no session between endpoints, then the delivery order does not reflect the order in which the messages are sent.

  • The value of TransferSession that an application uses specifies whether the application requires a specific order in the calling sequence. If Ordered, then the contract requires that messages must arrive in the order in which they are sent.

  • If Unordered, then the messages used to invoke public operations can arrive in any order.

If None, there are no sessions.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft