NetTcpRelaySecurity.Mode Property

Definition

Gets or sets whether message-level and transport-level security are used by an endpoint configured with a NetTcpRelayBinding.

public Microsoft.ServiceBus.EndToEndSecurityMode Mode { get; set; }
member this.Mode : Microsoft.ServiceBus.EndToEndSecurityMode with get, set
Public Property Mode As EndToEndSecurityMode

Property Value

Returns an EndToEndSecurityMode that indicates whether message-level or transport-level security is used by an endpoint. The default value is Transport.

Exceptions

The value is not a valid EndToEndSecurityMode field.

Applies to