Share via


TrustFault.FailedAuthenticationCode Field

Specifies the SOAP fault code indicating that the requester of the security token cannot be authenticated.

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

Usage

'Usage
Dim returnValue As XmlQualifiedName
returnValue = TrustFault.FailedAuthenticationCode

Dim sampleValue As XmlQualifiedName
TrustFault.FailedAuthenticationCode = sampleValue

Syntax

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

Remarks

When you throw a TrustFault exception with the code parameter set to FailedAuthenticationCode, set the message parameter to FailedAuthenticationMessage.

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

TrustFault Class
Microsoft.Web.Services2.Security Namespace

Other Resources

TrustFault Members