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