Export (0) Print
Expand All
Expand Minimize

SocketSecurityRole Enumeration

Describes the role for socket security.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public enum SocketSecurityRole

Member nameDescription
NoneWhen set on a client, the application will send unencrypted messages. When set on a server, the application will accept both encrypted and unencrypted messages.
SslClientThe application is identified as an SSL client, meaning the application will attempt to connect and send messages using an encrypted channel.
SslServerIdentifies the application as an SSL server, meaning that the application will accept only a secure transport connection.

Windows Azure Service Bus supports only Full Trust code access security.

This enumeration is used internally to describe the SSL security for TcpRelayTransportBindingElement. As such, you will not likely use this on a regular basis. However, you may use this if you are building your own custom binding. In that case, you will not likely change the meaning of the enumeration, but rather use the enumeration as-is in order to set security parameters. For more information on building a custom Windows Azure Service Bus binding, see Creating a Custom AppFabric Service Bus Binding.

Community Additions

ADD
Show:
© 2014 Microsoft