Assembly: System.ServiceModel (in system.servicemodel.dll)
|None||Specifies that a session is not required to interact with the services on this contract.|
|Ordered||Specifies that a session with ordered message delivery guarantees is required to interact with the services on this contract.|
|Unordered||Specifies 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.