Class NetTcpRelaySecurity
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Specifies the types of transport-level and message-level security used by an endpoint configured with a NetTcpRelayBinding.
public sealed class NetTcpRelaySecurity
- Inheritance
-
NetTcpRelaySecurity
- Inherited Members
Properties
Message
Gets the type of message-level security requirements for a service configured with a NetTcpRelayBinding.
public MessageSecurityOverRelayConnection Message { get; }
Property Value
- MessageSecurityOverRelayConnection
Returns a MessageSecurityOverRelayConnection that indicates the type of message-level security requirements for an endpoint. The default security settings are: a ClientCredentialType of UserName; and an AlgorithmSuite of Basic256.
Mode
Gets or sets whether message-level and transport-level security are used by an endpoint configured with a NetTcpRelayBinding.
public EndToEndSecurityMode Mode { get; set; }
Property Value
- EndToEndSecurityMode
Returns an EndToEndSecurityMode that indicates whether message-level or transport-level security is used by an endpoint. The default value is Transport.
RelayClientAuthenticationType
Gets or sets the relay client authentication type.
public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }
Property Value
- RelayClientAuthenticationType
Returns a RelayClientAuthenticationType that contains the relay client authentication type.
Transport
Gets the type of message-level security requirements for an endpoint configured with a NetTcpRelayBinding.
public TcpRelayTransportSecurity Transport { get; }
Property Value
- TcpRelayTransportSecurity
Returns a TcpRelayTransportSecurity that indicates the type of transport-level security requirements for an endpoint.