The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
BasicHttpSecurity::Mode Property
.NET Framework (current version)
Gets or sets the security mode for a basicHttpBinding binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property BasicHttpSecurityMode Mode { BasicHttpSecurityMode get(); void set(BasicHttpSecurityMode value); }
Property Value
Type: System.ServiceModel::BasicHttpSecurityModeA value in the BasicHttpSecurityMode enumeration. The default value for this property is None.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is not a legal value for BasicHttpSecurityMode. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: