OptionalReliableSession Constructor (ReliableSessionBindingElement)

 

Initializes a new instance of the OptionalReliableSession class from a reliable session binding element.

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

public OptionalReliableSession(
	ReliableSessionBindingElement reliableSessionBindingElement
)

Parameters

reliableSessionBindingElement
Type: System.ServiceModel.Channels.ReliableSessionBindingElement

The ReliableSessionBindingElement whose property value is used to initialize the reliable session.

Exception Condition
ArgumentNullException

The reliableSessionBindingElement is null.

.NET Framework
Available since 3.0
Return to top
Show: