Table of Contents

Class NetOnewayRelaySecurityElement

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

Defines the security settings for the System.ServiceModel.NetTcpBinding binding in an App.config file. This class cannot be inherited.

public sealed class NetOnewayRelaySecurityElement : ConfigurationElement
Inheritance
NetOnewayRelaySecurityElement

Constructors

NetOnewayRelaySecurityElement()

public NetOnewayRelaySecurityElement()

Properties

Message

Gets the security settings for the message.

public MessageSecurityOverRelayOnewayElement Message { get; }

Property Value

MessageSecurityOverRelayOnewayElement

Returns a MessageSecurityOverRelayOnewayElement that contains the message.

Mode

Gets or sets the type of security that is applied.

public EndToEndSecurityMode Mode { get; set; }

Property Value

EndToEndSecurityMode

Returns an EndToEndSecurityMode instance that contains the security mode.

Properties

protected override ConfigurationPropertyCollection Properties { get; }

Property Value

ConfigurationPropertyCollection

RelayClientAuthenticationType

Gets a value that describes whether clients of a service are required to present a security token issued by the Azure Service Bus service to the Azure Service Bus service when sending messages.

public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }

Property Value

RelayClientAuthenticationType

Returns a RelayClientAuthenticationType that contains the relay client authentication type.

Transport

Gets the security settings for the transport.

public RelayedOnewayTransportSecurityElement Transport { get; }

Property Value

RelayedOnewayTransportSecurityElement

Returns a RelayedOnewayTransportSecurityElement that contains the security settings.