TrustFault.BadRequestCode Field

Specifies the SOAP fault code indicating that a security token request is not understood.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim returnValue As XmlQualifiedName
returnValue = TrustFault.BadRequestCode

Dim sampleValue As XmlQualifiedName
TrustFault.BadRequestCode = sampleValue

Syntax

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

Remarks

When you throw a TrustFault exception with the code parameter set to BadRequestCode, set the message parameter to BadRequestMessage.

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

TrustFault Class
TrustFault Members
Microsoft.Web.Services3.Security Namespace