Represents the binding element used to specify Windows stream security settings.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Thetype exposes the following members.
|WindowsStreamSecurityBindingElement||Initializes a new instance of the class.|
|WindowsStreamSecurityBindingElement(WindowsStreamSecurityBindingElement)||Initializes a new instance of the class from an existing instance.|
|BuildChannelFactory(Of TChannel)||Creates a channel factory that can be used to create a channel. (Overrides BindingElement.BuildChannelFactory(Of TChannel)(BindingContext).)|
|BuildChannelListener(Of TChannel)||Creates a channel listener of the specified type. (Overrides BindingElement.BuildChannelListener(Of TChannel)(BindingContext).)|
|BuildClientStreamUpgradeProvider||Creates an instance on the client of the StreamUpgradeProvider based on the channel context provided. (Overrides StreamUpgradeBindingElement.BuildClientStreamUpgradeProvider(BindingContext).)|
|BuildServerStreamUpgradeProvider||Creates an instance on the server of the StreamUpgradeProvider based on the channel context provided. (Overrides StreamUpgradeBindingElement.BuildServerStreamUpgradeProvider(BindingContext).)|
|CanBuildChannelFactory(Of TChannel)||Determines whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory(Of TChannel)(BindingContext).)|
|CanBuildChannelListener(Of TChannel)||Determines whether a channel listener of the specified type can be built. (Overrides BindingElement.CanBuildChannelListener(Of TChannel)(BindingContext).)|
|Clone||Creates a new binding element from this instance of the class. (Overrides BindingElement.Clone.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetProperty(Of T)||Gets a specified object from the BindingContext. (Overrides BindingElement.GetProperty(Of T)(BindingContext).)|
|GetTransportTokenAssertion||Gets the XmlElement that represents the transport token used in the security binding.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Transports that use a stream-oriented protocol such as TCP and named pipes support stream-based transport upgrades. Specifically, provides security upgrades. The configuration of this transport security is encapsulated by this class as well as by SslStreamSecurityBindingElement, which can be configured and added to a custom binding. In addition, a third party can write its own custom StreamSecurityBindingElement. These binding elements extend the StreamUpgradeBindingElement class that is called to build the client and server stream upgrade providers.
A custom binding contains a collection of binding elements arranged in a specific order: the element representing the top of the binding stack is added first, the next element down in the binding stack is added second, and so on.
To add this class to a binding
Create a BindingElementCollection.
Create an instance of and add it to the collection.
Add any additional custom binding elements to the collection, such as TcpTransportBindingElement.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.