Table of Contents

Class NetTcpRelaySecurityElement

Namespace
Microsoft.ServiceBus.Configuration
Assembly
Microsoft.ServiceBus.dll

Represents a configuration element that configures the security for a net TCP service through the Azure Service Bus relay.

public sealed class NetTcpRelaySecurityElement : ConfigurationElement
Inheritance
NetTcpRelaySecurityElement

Constructors

NetTcpRelaySecurityElement()

public NetTcpRelaySecurityElement()

Properties

Message

Gets a configuration element that represents the message security settings for the NetTcpRelayBinding.

public MessageSecurityOverRelayConnectionElement Message { get; }

Property Value

MessageSecurityOverRelayConnectionElement

Returns a MessageSecurityOverRelayConnectionElement that contains the message.

Mode

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

public EndToEndSecurityMode Mode { get; set; }

Property Value

EndToEndSecurityMode

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

Properties

Gets the collection of properties.

protected override ConfigurationPropertyCollection Properties { get; }

Property Value

ConfigurationPropertyCollection

RelayClientAuthenticationType

Gets or sets the authentication type required for the client to present to the Azure Service Bus when sending messages.

public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }

Property Value

RelayClientAuthenticationType

Returns a RelayClientAuthenticationType that contains the authentication type.

Transport

Gets the transport security setting for the NetTcpRelayBinding.

public TcpRelayTransportSecurityElement Transport { get; }

Property Value

TcpRelayTransportSecurityElement

Returns a TcpRelayTransportSecurityElement that contains the relay binding.