Bewerken

Delen via


TransferSession Enum

Definition

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.

public enum class TransferSession
public enum TransferSession
type TransferSession = 
Public Enum TransferSession
Inheritance
TransferSession

Fields

Name Value Description
None 0

Specifies that a session is not required to interact with the services on this contract.

Ordered 1

Specifies that a session with ordered message delivery guarantees is required to interact with the services on this contract.

Unordered 2

Specifies that a session with unordered message delivery guarantees is sufficient to interact with the services on this contract.

Remarks

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.

Applies to