Represents a custom binding element that supports mixed-mode security (such as, optimized message security over a secure transport).
public sealed class TransportSecurityBindingElement : System.ServiceModel.Channels.SecurityBindingElement, System.ServiceModel.Description.IPolicyExportExtension
A custom binding contains a collection of binding elements arranged in a specific order: the element that represents the top of the binding stack is added first, the next element down in the binding stack is added second, and so forth.
To add this class to a binding
Create a BindingElementCollection.
Create an instance of TransportSecurityBindingElement and add it to the collection.
Add any additional custom binding elements to the collection, such as TcpTransportBindingElement.
Note Once an instance of this object is created, you should treat the properties of its base class, SecurityBindingElement, as immutable. Calling
set on some properties may have unpredictable effects: the binding may behave as if the property retained its old value, with a run-time failure being the only indication of an issue. Two properties known to behave this way are KeyType and MessageSecurityVersion. There may be other properties for which this is true.
Creates an instance of the TransportSecurityBindingElement class.
Explicit Interface Implementations
Exports a custom policy assertion about bindings.
|AllowInsecureTransport||Inherited from SecurityBindingElement|
|DefaultAlgorithmSuite||Inherited from SecurityBindingElement|
|EnableUnsecuredResponse||Inherited from SecurityBindingElement|
|EndpointSupportingTokenParameters||Inherited from SecurityBindingElement|
|IncludeTimestamp||Inherited from SecurityBindingElement|
|KeyEntropyMode||Inherited from SecurityBindingElement|
|LocalClientSettings||Inherited from SecurityBindingElement|
|LocalServiceSettings||Inherited from SecurityBindingElement|
|MessageSecurityVersion||Inherited from SecurityBindingElement|
|OperationSupportingTokenParameters||Inherited from SecurityBindingElement|
|OptionalEndpointSupportingTokenParameters||Inherited from SecurityBindingElement|
|OptionalOperationSupportingTokenParameters||Inherited from SecurityBindingElement|
|ProtectTokens||Inherited from SecurityBindingElement|
|SecurityHeaderLayout||Inherited from SecurityBindingElement|