NetHttpBinding 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 NetHttpBinding class.
NetHttpBinding() |
Initializes a new instance of the NetHttpBinding class. |
NetHttpBinding(BasicHttpSecurityMode) |
Initializes a new instance of the NetHttpBinding class with the specified security mode. |
NetHttpBinding(String) |
Initializes a new instance of the NetHttpBinding class with the specified configuration name. |
NetHttpBinding(BasicHttpSecurityMode, Boolean) |
Initializes a new instance of the NetHttpBinding class with the specified security mode. |
- Source:
- NetHttpBinding.cs
- Source:
- NetHttpBinding.cs
Initializes a new instance of the NetHttpBinding class.
public:
NetHttpBinding();
public NetHttpBinding ();
Public Sub New ()
Applies to
.NET 8 (package-provided) 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
- Source:
- NetHttpBinding.cs
- Source:
- NetHttpBinding.cs
Initializes a new instance of the NetHttpBinding class with the specified security mode.
public:
NetHttpBinding(System::ServiceModel::BasicHttpSecurityMode securityMode);
public NetHttpBinding (System.ServiceModel.BasicHttpSecurityMode securityMode);
new System.ServiceModel.NetHttpBinding : System.ServiceModel.BasicHttpSecurityMode -> System.ServiceModel.NetHttpBinding
Public Sub New (securityMode As BasicHttpSecurityMode)
Parameters
- securityMode
- BasicHttpSecurityMode
The mode of the security.
Applies to
.NET 8 (package-provided) 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
Initializes a new instance of the NetHttpBinding class with the specified configuration name.
public:
NetHttpBinding(System::String ^ configurationName);
public NetHttpBinding (string configurationName);
new System.ServiceModel.NetHttpBinding : string -> System.ServiceModel.NetHttpBinding
Public Sub New (configurationName As String)
Parameters
- configurationName
- String
The name of the configuration.
Applies to
.NET Core 1.1 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
- Source:
- NetHttpBinding.cs
- Source:
- NetHttpBinding.cs
Initializes a new instance of the NetHttpBinding class with the specified security mode.
public:
NetHttpBinding(System::ServiceModel::BasicHttpSecurityMode securityMode, bool reliableSessionEnabled);
public NetHttpBinding (System.ServiceModel.BasicHttpSecurityMode securityMode, bool reliableSessionEnabled);
new System.ServiceModel.NetHttpBinding : System.ServiceModel.BasicHttpSecurityMode * bool -> System.ServiceModel.NetHttpBinding
Public Sub New (securityMode As BasicHttpSecurityMode, reliableSessionEnabled As Boolean)
Parameters
- securityMode
- BasicHttpSecurityMode
The mode of the security.
- reliableSessionEnabled
- Boolean
true
to indicate that the reliable session was enabled; otherwise, false
.
Applies to
.NET 8 (package-provided) 및 기타 버전
제품 | 버전 |
---|---|
.NET | 8 (package-provided) |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.