SecurityBindingElement Methods

SecurityBindingElement Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The SecurityBindingElement type exposes the following members.

  NameDescription
Public method BuildChannelFactory(Of 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(Of TChannel)(BindingContext).)
Protected method BuildChannelFactoryCore(Of TChannel) When implemented in a derived class, creates a channel factory of a specified type.
Public method CanBuildChannelFactory(Of TChannel) Gets a value that indicates whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory(Of TChannel)(BindingContext).)
Public method Clone When overridden in a derived class, returns a copy of the binding element object. (Inherited from BindingElement.)
Public method Static member 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).
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty(Of T) Gets a specified object using the BindingContext specified. (Overrides BindingElement.GetProperty(Of T)(BindingContext).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Show:
© 2017 Microsoft