Export (0) Print
Expand All

WebHttpRelayBinding.Security Property

Gets the security settings for the current instance.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public WebHttpRelaySecurity Security { get; }

Property Value

Type: Microsoft.ServiceBus.WebHttpRelaySecurity
Returns a WebHttpRelaySecurity that contains the security settings.

The WebHttpRelaySecurity you retrieve from this property is created indirectly with a WebHttpRelayBinding(). As such, you cannot replace this object with a new object unless you also create a new binding. However, many members of WebHttpRelaySecurity can be set through this property. For more information on binding security, see the Security and Protection section.

Along with the type of transport and WriteEncoding, the Security settings represent one of the three main properties that define this binding.

Community Additions

ADD
Show:
© 2014 Microsoft