Share via


KerberosToken2.ValueType Property

Gets or sets an XML qualified name that identifies the security token type.

Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim kerberosToken21 As KerberosToken2

Dim returnValue As String
returnValue = kerberosToken21.ValueType

Dim sampleValue As String
kerberosToken21.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

The security token type. The default value is Kerberosv5APREQ.

Exceptions

Exception type Condition
System.ArgumentNullException

ValueType is set to null.

SecurityFormatException

ValueType is not set to Kerberosv5APREQ.

Remarks

When a KerberosToken2 is added to a SOAP message, the ValueType attribute of the <BinarySecurityToken> element is set to the value of the ValueType property.

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

KerberosToken2 Class
Microsoft.Web.Services2.Security.Tokens Namespace

Other Resources

KerberosToken2 Members