Szerkesztés

Megosztás a következőn keresztül:


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

WSHttpBindingBase(Boolean)

Source:
WSHttpBindingBase.cs
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