OptionalReliableSession 构造函数

定义

初始化 OptionalReliableSession 类的新实例。

重载

OptionalReliableSession()

初始化 OptionalReliableSession 类的新实例。

OptionalReliableSession(ReliableSessionBindingElement)

从可靠会话绑定元素中初始化 OptionalReliableSession 类的新实例。

OptionalReliableSession()

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

初始化 OptionalReliableSession 类的新实例。

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

适用于

OptionalReliableSession(ReliableSessionBindingElement)

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

从可靠会话绑定元素中初始化 OptionalReliableSession 类的新实例。

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)

参数

reliableSessionBindingElement
ReliableSessionBindingElement

ReliableSessionBindingElement,其属性值用于初始化可靠会话。

例外

reliableSessionBindingElementnull

适用于