WSHttpBindingBase Constructors
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 WSHttpBindingBase class.
WSHttpBindingBase() |
Initializes a new instance of the WSHttpBindingBase class. |
WSHttpBindingBase(Boolean) |
Initializes a new instance of the WSHttpBindingBase class with a value that indicates whether a reliable session is enabled. |
- Source:
- WSHttpBindingBase.cs
Initializes a new instance of the WSHttpBindingBase class.
protected:
WSHttpBindingBase();
protected WSHttpBindingBase ();
Protected Sub New ()
Examples
This example shows how to use the parameterless constructor.
WSHttpBinding binding1 = new WSHttpBinding();
Dim binding1 As New WSHttpBinding()
Applies to
.NET 8 (package-provided) والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET | 8 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
- Source:
- WSHttpBindingBase.cs
Initializes a new instance of the WSHttpBindingBase class with a value that indicates whether a reliable session is enabled.
protected:
WSHttpBindingBase(bool reliableSessionEnabled);
protected WSHttpBindingBase (bool reliableSessionEnabled);
new System.ServiceModel.WSHttpBindingBase : bool -> System.ServiceModel.WSHttpBindingBase
Protected Sub New (reliableSessionEnabled As Boolean)
Parameters
- reliableSessionEnabled
- Boolean
true
, if a reliable session is enabled; otherwise, false
.
Applies to
.NET 8 (package-provided) والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET | 8 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
ملاحظات .NET
.NET هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: