Share via


SecurityFault.SecurityTokenUnavailableCode Field

Specifies a SOAP fault code indicating that a reference to a security token within a SOAP message is invalid.

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

Usage

'Usage
Dim returnValue As XmlQualifiedName
returnValue = SecurityFault.SecurityTokenUnavailableCode

Dim sampleValue As XmlQualifiedName
SecurityFault.SecurityTokenUnavailableCode = sampleValue

Syntax

'Declaration
Public Shared ReadOnly SecurityTokenUnavailableCode As XmlQualifiedName
public static readonly XmlQualifiedName SecurityTokenUnavailableCode;
public: static XmlQualifiedName^ SecurityTokenUnavailableCode;
public static XmlQualifiedName SecurityTokenUnavailableCode;
public static var SecurityTokenUnavailableCode : XmlQualifiedName;

Remarks

When you throw a SecurityFault exception with the code parameter set to SecurityTokenUnavailableCode, set the message parameter to SecurityTokenUnavailableMessage.

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

SecurityFault Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityFault Members