ContractDescription.SessionMode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether a session is required by the contract.

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

member SessionMode : SessionMode with get, set

Property Value

Type: System.ServiceModel.SessionMode

The SessionMode that specifies the support for reliable sessions that a contract requires or supports.

A reliable session is a way of correlating a set of messages exchanged between two or more endpoints (using the WS-ReliableMessaging specification) to provide assurances of the reliability of the connection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: