KerberosToken.ValueType Property
Gets or sets an XML qualified name that identifies the security token type.
Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim kerberosToken1 As KerberosToken
Dim returnValue As String
returnValue = kerberosToken1.ValueType
Dim sampleValue As String
kerberosToken1.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^ value);
}
override 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 GSSKerberosv5APREQ.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | ValueType is set to null. |
SecurityFormatException | ValueType is not set to GSSKerberosv5APREQ. |
Remarks
When a KerberosToken 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 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
KerberosToken Class
KerberosToken Members
Microsoft.Web.Services3.Security.Tokens Namespace