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.

MessageSecurityVersion Class

An abstract container class that, when implemented by several of its static properties, contains version information for security components.

System.Object
  System.ServiceModel.MessageSecurityVersion

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

public abstract class MessageSecurityVersion

The MessageSecurityVersion type exposes the following members.

  NameDescription
Public propertyBasicSecurityProfileVersionGets the version information for the Basic Security Profile.
Public propertyStatic memberDefaultGets the version information for default message security.
Public propertySecureConversationVersionGets the WS-SecureConversation version that corresponds to the message security version.
Public propertySecurityPolicyVersionGets the WS-SecurityPolicy version that corresponds to the message security version.
Public propertySecurityTokenVersionGets the security token version that corresponds to the message security version.
Public propertySecurityVersionGets the WS-Security version that corresponds to the message security version.
Public propertyTrustVersionGets the WS-Trust version that corresponds to the message security version.
Public propertyStatic memberWSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10Gets the message security version that requires the Basic Security Profile 1.0 based on WS-Security 1.0, WS-Trust 1.3, WS-SecureConversation 1.3 and WS-SecurityPolicy 1.2 security specifications.
Public propertyStatic memberWSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10Gets the message security version that requires the Basic Security Profile 1.0 based on WS-Security 1.0, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications.
Public propertyStatic memberWSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12Gets the message security version that requires the WS-Security 1.1, WS-Trust 1.3, WS-SecureConversation 1.3 and WS-SecurityPolicy 1.2 security specifications.
Public propertyStatic memberWSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10Gets the message security version that requires the WS-Security1.1, WS-Trust 1.3, WS-SecureConversation 1.3, WS-SecurityPolicy 1.2, and BasicSecurityProfile 1.0 security specifications.
Public propertyStatic memberWSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11Gets the message security version that requires the WS-Security 1.1, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications.
Public propertyStatic memberWSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10Gets the message security version that requires the Basic Security Profile based on WS-Security 1.1, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class is the extensibility point for customizing token serialization.

This class is a singleton that provides information about the versions of the security specifications, (WS-Security, WS-Trust, WS-Secure Conversation and WS-Security Policy), that must be supported by a binding.

The class contains seven static properties, each of which returns an instance of this class. Each of these properties represents a different combination of security specification versions. The instances of this class are used as parameters in the Create…CertificateBindingElement method calls on the SecurityBindingElement class. If you pass the Default property, you create a standard version of the binding element. To create a non-standard version, pass the property that matches your version.

The class also contains abstract properties that are implemented by the previous instances.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft