Export (0) Print
Expand All
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 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.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft