Export (0) Print
Expand All

NetHttpBinding Constructor (BasicHttpSecurityMode, Boolean)

.NET Framework 4.5

Initializes a new instance of the NetHttpBinding class with the specified security mode.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public NetHttpBinding(
	BasicHttpSecurityMode securityMode,
	bool reliableSessionEnabled
)

Parameters

securityMode
Type: System.ServiceModel.BasicHttpSecurityMode

The mode of the security.

reliableSessionEnabled
Type: System.Boolean

true to indicate that the reliable session was enabled; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft