X509SecurityToken.ValueType Property
Gets or sets a namespace-qualified local name representing the token.
Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim x509SecurityToken1 As X509SecurityToken
Dim returnValue As String
returnValue = x509SecurityToken1.ValueType
Dim sampleValue As String
x509SecurityToken1.ValueType = sampleValue
Syntax
'Declaration
Public Overrides Property ValueType() As String
public override string ValueType {get; set;}
public: property virtual String^ ValueType{
String^ get();
Void set(String^);
}
public System.String get_ValueType();
public void set_ValueType(System.String);
public override function get ValueType() : String;
public override function set ValueType(String);
Property Value
An System.Xml.XmlQualifiedName.
Exceptions
Exception type | Condition |
---|---|
SecurityFormatException | The string representation of the name is not of X509v3 type. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
X509SecurityToken Class
Microsoft.Web.Services2.Security.Tokens Namespace