Share via


HttpBindingSecurity.Mode Property

Gets or sets the mode of security that is used by an endpoint configured to use an HttpBinding binding.

Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property Mode As HttpBindingSecurityMode
    Get
    Set
'Usage
Dim instance As HttpBindingSecurity
Dim value As HttpBindingSecurityMode

value = instance.Mode

instance.Mode = value
public HttpBindingSecurityMode Mode { get; set; }
public:
property HttpBindingSecurityMode Mode {
    HttpBindingSecurityMode get ();
    void set (HttpBindingSecurityMode value);
}
member Mode : HttpBindingSecurityMode with get, set
function get Mode () : HttpBindingSecurityMode
function set Mode (value : HttpBindingSecurityMode)

Property Value

Type: System.Web.Http.SelfHost.Channels.HttpBindingSecurityMode

See Also

Reference

HttpBindingSecurity Class

System.Web.Http.SelfHost.Channels Namespace