Share via


TrustFault.FailedAuthenticationMessage Field

Specifies the error message of a TrustFault exception when the requester of the security token cannot be authenticated. This field is constant.

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

Usage

'Usage
Dim returnValue As String
returnValue = TrustFault.FailedAuthenticationMessage

Syntax

'Declaration
Public Const FailedAuthenticationMessage As String
public const string FailedAuthenticationMessage;
public: const String^ FailedAuthenticationMessage;
public static final System.String FailedAuthenticationMessage;
public var FailedAuthenticationMessage : String;

Remarks

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

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