Describes the role for socket security.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
|When set on a client, the application will send unencrypted messages. When set on a server, the application will accept both encrypted and unencrypted messages.|
|The application is identified as an SSL client, meaning the application will attempt to connect and send messages using an encrypted channel.|
|Identifies 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.