NetTcpRelayBindingElement.Security Property

Definition

Gets a value from the App.config file that determines the type of security to be used with this binding.

[System.Configuration.ConfigurationProperty("security")]
public Microsoft.ServiceBus.Configuration.NetTcpRelaySecurityElement Security { get; }
[<System.Configuration.ConfigurationProperty("security")>]
member this.Security : Microsoft.ServiceBus.Configuration.NetTcpRelaySecurityElement
Public ReadOnly Property Security As NetTcpRelaySecurityElement

Property Value

Returns a NetTcpRelaySecurityElement that contains the security settings for the associated binding. The default value is none.The NetTcpRelaySecurityElement you retrieve from the associated binding is created indirectly with a NetTcpRelayBinding. As such, after the binding is created, 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 security property. For more information on binding security, see the Security and Protection section. Along with the type of transport and encoding, the Security settings represent one of the three main properties that define this binding.

Attributes

Applies to