WSHttpBindingBase Constructors

Definition

Initializes a new instance of the WSHttpBindingBase class.

Overloads

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.

WSHttpBindingBase()

Source:
WSHttpBindingBase.cs

Initializes a new instance of the WSHttpBindingBase class.

protected WSHttpBindingBase ();

Examples

This example shows how to use the parameterless constructor.

WSHttpBinding binding1 = 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

WSHttpBindingBase(Boolean)

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);

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