Edit

Share via


OptionalReliableSession Constructors

Definition

Initializes a new instance of the OptionalReliableSession class.

Overloads

OptionalReliableSession()

Initializes a new instance of the OptionalReliableSession class.

OptionalReliableSession(ReliableSessionBindingElement)

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

OptionalReliableSession()

Source:
ReliableSession.cs
Source:
ReliableSession.cs
Source:
ReliableSession.cs

Initializes a new instance of the OptionalReliableSession class.

public:
 OptionalReliableSession();
public OptionalReliableSession ();
Public Sub New ()

Applies to

OptionalReliableSession(ReliableSessionBindingElement)

Source:
ReliableSession.cs
Source:
ReliableSession.cs
Source:
ReliableSession.cs

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

public:
 OptionalReliableSession(System::ServiceModel::Channels::ReliableSessionBindingElement ^ reliableSessionBindingElement);
public OptionalReliableSession (System.ServiceModel.Channels.ReliableSessionBindingElement reliableSessionBindingElement);
new System.ServiceModel.OptionalReliableSession : System.ServiceModel.Channels.ReliableSessionBindingElement -> System.ServiceModel.OptionalReliableSession
Public Sub New (reliableSessionBindingElement As ReliableSessionBindingElement)

Parameters

reliableSessionBindingElement
ReliableSessionBindingElement

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

Exceptions

The reliableSessionBindingElement is null.

Applies to