Partager via


SecurityFault.InvalidSecurityCode Field

Specifies a SOAP fault code indicating that an error occurred while processing the <Security> SOAP header. This field is read-only.

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

Usage

'Usage
Dim returnValue As XmlQualifiedName
returnValue = SecurityFault.InvalidSecurityCode

Dim sampleValue As XmlQualifiedName
SecurityFault.InvalidSecurityCode = sampleValue

Syntax

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

Remarks

When you throw a SecurityFault exception with the code parameter set to InvalidSecurityCode, set the message parameter to InvalidSecurityMessage.

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

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