NetTcpRelaySecurityElement.Mode Property

Definition

Gets or sets an XML value that describes whether message-level or transport-level security is used by an endpoint configured with NetTcpRelayBinding.

[System.Configuration.ConfigurationProperty("mode", DefaultValue=Microsoft.ServiceBus.EndToEndSecurityMode.Transport)]
public Microsoft.ServiceBus.EndToEndSecurityMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=Microsoft.ServiceBus.EndToEndSecurityMode.Transport)>]
member this.Mode : Microsoft.ServiceBus.EndToEndSecurityMode with get, set
Public Property Mode As EndToEndSecurityMode

Property Value

Returns a EndToEndSecurityMode that contains the security mode. The default value is Transport.

Attributes

Applies to