Table of Contents

Class NetOnewayRelaySecurity

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

The collection of security settings for a NetOnewayRelayBinding binding.

public sealed class NetOnewayRelaySecurity
Inheritance
NetOnewayRelaySecurity
Inherited Members

Properties

Message

Gets the type of message-level security requirements for a service configured with a NetOnewayRelayBinding.

public MessageSecurityOverRelayOneway Message { get; }

Property Value

MessageSecurityOverRelayOneway

Returns a MessageSecurityOverRelayOneway that indicates the type of message-level security requirements for an endpoint. The default AlgorithmSuite is Basic256, and the default ClientCredentialType is Windows.

Mode

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

public EndToEndSecurityMode Mode { get; set; }

Property Value

EndToEndSecurityMode

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

Exceptions

ArgumentOutOfRangeException

The security mode value is not valid.

RelayClientAuthenticationType

Gets or sets the authentication type for the relay client.

public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }

Property Value

RelayClientAuthenticationType

Returns a RelayClientAuthenticationType that contains the authentication type. The default value is RelayAccessToken.

Exceptions

ArgumentOutOfRangeException

The value is not a valid RelayClientAuthenticationType field.

Transport

Gets the type of transport-level security requirements for an endpoint configured with a NetOnewayRelayBinding. The default value is EncryptAndSign.

public RelayedOnewayTransportSecurity Transport { get; }

Property Value

RelayedOnewayTransportSecurity

Returns a RelayedOnewayTransportSecurity that indicates the type of transport-level security requirements for an endpoint.