SecurityBindingElement Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
An abstract class that, when implemented, represents a binding element that supports channel SOAP message security.
System.ServiceModel.Channels::BindingElement
System.ServiceModel.Channels::SecurityBindingElement
System.ServiceModel.Channels::TransportSecurityBindingElement
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The SecurityBindingElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | IncludeTimestamp | Gets or sets a value that indicates whether time stamps are included in each message. |
![]() | LocalClientSettings | Gets the binding properties specific to local security settings used by the client. |
| Name | Description | |
|---|---|---|
![]() | BuildChannelFactory<TChannel> | Creates a channel factory based on the SecurityBindingElement settings and the binding context passed in. The channel factory created is a SOAP message security channel factory, which internally has a reference to the channel factory that corresponds to the binding context (which includes the transport channel factory). (Overrides BindingElement::BuildChannelFactory<TChannel>(BindingContext).) |
![]() | BuildChannelFactoryCore<TChannel> | When implemented in a derived class, creates a channel factory of a specified type. |
![]() | CanBuildChannelFactory<TChannel> | Gets a value that indicates whether a channel factory of the specified type can be built. (Overrides BindingElement::CanBuildChannelFactory<TChannel>(BindingContext).) |
![]() | Clone | When overridden in a derived class, returns a copy of the binding element object. (Inherited from BindingElement.) |
![]() ![]() | CreateUserNameOverTransportBindingElement | Creates a security binding element that is configured for client authentication based on a user name and password sent as part of the SOAP message. The binding element requires the transport to provide server authentication and message protection (for example, HTTPS). |
![]() | 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 the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperty<T> | Gets a specified object using the BindingContext specified. (Overrides BindingElement::GetProperty<T>(BindingContext).) |
![]() | 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.) |
This class is the base class for the SOAP message security binding elements in Windows Phone. The TransportSecurityBindingElement class derives from this class.
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 on.



