OptionalReliableSession Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
.