Returns the security binding element from the current binding.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
is used primarily by the system when interacting with custom bindings. If you inherit from WSHttpRelayBinding, you need to ensure that this method returns your default security binding properties. For many scenarios, this may be as simple as using the inherited version of the method with no modification. For more information on creating a custom binding, see Creating a Custom .NET Services Binding.