Share via


SecurityFault.BadContextTokenMessage Field

Specifies the error message of a SecurityFault exception when an invalid SecurityContextToken security token is received. 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 = SecurityFault.BadContextTokenMessage

Syntax

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

Remarks

When you throw a SecurityFault exception with the message parameter set to BadContextTokenMessage, set the code parameter to BadContextTokenCode.

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