Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContractDescription::SessionMode Property

 

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)

public:
property SessionMode SessionMode {
	SessionMode get();
	void set(SessionMode value);
}

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:
© 2017 Microsoft