SALES: 1-800-867-1380

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

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft