Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityBindingElement Class

An abstract class that, when implemented, represents a binding element that supports channel SOAP message security.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract class SecurityBindingElement : BindingElement

The SecurityBindingElement type exposes the following members.

  NameDescription
Public propertySupported by Silverlight for Windows PhoneIncludeTimestampGets or sets a value that indicates whether time stamps are included in each message.
Public propertySupported by Silverlight for Windows PhoneLocalClientSettingsGets the binding properties specific to local security settings used by the client.
Top

  NameDescription
Public methodSupported by Silverlight for Windows PhoneBuildChannelFactory<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).)
Protected methodSupported by Silverlight for Windows PhoneBuildChannelFactoryCore<TChannel>When implemented in a derived class, creates a channel factory of a specified type.
Public methodSupported by Silverlight for Windows PhoneCanBuildChannelFactory<TChannel>Gets a value that indicates whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public methodSupported by Silverlight for Windows PhoneCloneWhen overridden in a derived class, returns a copy of the binding element object. (Inherited from BindingElement.)
Public methodStatic memberSupported by Silverlight for Windows PhoneCreateUserNameOverTransportBindingElementCreates 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).
Public methodSupported by Silverlight for Windows PhoneEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetProperty<T>Gets a specified object using the BindingContext specified. (Overrides BindingElement.GetProperty<T>(BindingContext).)
Public methodSupported by Silverlight for Windows PhoneGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class is the base class for the SOAP message security binding elements in Silverlight. 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft