แก้ไข

แชร์ผ่าน


MessageSecurityVersion.SecurityTokenVersion Property

Definition

Gets the security token version that corresponds to the message security version.

public:
 property System::IdentityModel::Selectors::SecurityTokenVersion ^ SecurityTokenVersion { System::IdentityModel::Selectors::SecurityTokenVersion ^ get(); };
public System.IdentityModel.Selectors.SecurityTokenVersion SecurityTokenVersion { get; }
member this.SecurityTokenVersion : System.IdentityModel.Selectors.SecurityTokenVersion
Public ReadOnly Property SecurityTokenVersion As SecurityTokenVersion

Property Value

The SecurityTokenVersion object that corresponds to the message security version.

Remarks

This method is implemented by the instances of this class returned by the seven static properties. Each implementation represents a different combination of specification versions and so returns a different value for this property.

This property is used to query a token serializer factory interface defined in SecurityTokenVersion for a token serializer instance capable of serializing tokens.

Applies to