Export (0) Print
Expand All

SoapException Constructor (String, XmlQualifiedName, String, XmlNode, Exception)

Initializes a new instance of the SoapException class with the specified exception message, exception code, URI that identifies the piece of code that caused the exception, application-specific exception information, and reference to the root cause of the exception.

Namespace:  System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

new : 
        message:string * 
        code:XmlQualifiedName * 
        actor:string * 
        detail:XmlNode * 
        innerException:Exception -> SoapException

Parameters

message
Type: System.String

A message that identifies the reason the exception occurred. This parameter sets the Message property.

code
Type: System.Xml.XmlQualifiedName

An XmlQualifiedName that specifies the type of error that occurred. This parameter sets the Code property.

actor
Type: System.String

A URI that identifies the piece of code that caused the exception. Typically, this is a URL to an XML Web service method. This parameter sets the Actor property.

detail
Type: System.Xml.XmlNode

An XmlNode that contains application specific exception information. This parameter sets the Detail property.

innerException
Type: System.Exception

An exception that is the root cause of the exception. This parameter sets the InnerException property.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft