Export (0) Print
Expand All

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
Assemblies:   System.ServiceModel.Security (in System.ServiceModel.Security.dll)
  System.ServiceModel (in System.ServiceModel.dll)

public abstract class MessageSecurityVersion

The MessageSecurityVersion type exposes the following members.

  NameDescription
Public propertySupported in .NET for Windows Store appsBasicSecurityProfileVersionGets the version information for the Basic Security Profile.
Public propertyStatic memberDefaultGets the version information for default message security.
Public propertySupported in .NET for Windows Store appsSecureConversationVersionGets the WS-SecureConversation version that corresponds to the message security version.
Public propertySupported in .NET for Windows Store appsSecurityPolicyVersionGets 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 propertySupported in .NET for Windows Store appsSecurityVersionGets the WS-Security version that corresponds to the message security version.
Public propertySupported in .NET for Windows Store appsTrustVersionGets 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 memberSupported in .NET for Windows Store appsWSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10Gets 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 memberSupported in .NET for Windows Store appsWSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11Gets 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 memberSupported in .NET for Windows Store appsWSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10Gets 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 methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsToStringReturns 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

.NET for Windows Store apps

Supported in: Windows 8

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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:
© 2014 Microsoft