BasicHttpSecurity::Mode Property

 

Gets or sets the security mode for a basicHttpBinding binding.

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

public:
property BasicHttpSecurityMode Mode {
	BasicHttpSecurityMode get();
	void set(BasicHttpSecurityMode value);
}

Property Value

Type: System.ServiceModel::BasicHttpSecurityMode

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

The value of this property affects which settings in Transport or Message become effective.

No code example is currently available or this language may not be supported.

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
Return to top
Show: