SoapException SoapException SoapException SoapException Constructors

Definition

Overloads

SoapException() SoapException() SoapException()

Initializes a new instance of the SoapException class.

SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext)

Initializes a new instance of the SoapException class with serialized data.

SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName)

Initializes a new instance of the SoapException class with the specified exception message and exception code.

SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and reference to the root cause of the exception.

SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and URI that identifies the piece of code that caused the exception.

SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception)

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

SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode)

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, and application specific exception information.

SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and subcode.

SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(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.

SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, 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.

SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, 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, URI that represents the XML Web service's function in processing the SOAP message, the human language associated with the exception, the application-specific exception information, the subcode for the SOAP fault and reference to the root cause of the exception.

SoapException() SoapException() SoapException()

Initializes a new instance of the SoapException class.

public:
 SoapException();
public SoapException ();
Public Sub New ()

SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext) SoapException(SerializationInfo, StreamingContext)

Initializes a new instance of the SoapException class with serialized data.

protected:
 SoapException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SoapException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Web.Services.Protocols.SoapException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Web.Services.Protocols.SoapException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The T:System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName) SoapException(String, XmlQualifiedName)

Initializes a new instance of the SoapException class with the specified exception message and exception code.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code);
public SoapException (string message, System.Xml.XmlQualifiedName code);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

See also

SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception) SoapException(String, XmlQualifiedName, Exception)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and reference to the root cause of the exception.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, Exception ^ innerException);
public SoapException (string message, System.Xml.XmlQualifiedName code, Exception innerException);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * Exception -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, innerException As Exception)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

innerException
Exception Exception Exception Exception

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

See also

SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String) SoapException(String, XmlQualifiedName, String)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and URI that identifies the piece of code that caused the exception.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String String

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

See also

SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception) SoapException(String, XmlQualifiedName, String, Exception)

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

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, Exception ^ innerException);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor, Exception innerException);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string * Exception -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, innerException As Exception)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String 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.

innerException
Exception Exception Exception Exception

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

See also

SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode) SoapException(String, XmlQualifiedName, String, XmlNode)

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, and application specific exception information.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::Xml::XmlNode ^ detail);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor, System.Xml.XmlNode detail);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string * System.Xml.XmlNode -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, detail As XmlNode)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String 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
XmlNode XmlNode XmlNode XmlNode

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

SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode) SoapException(String, XmlQualifiedName, SoapFaultSubCode)

Initializes a new instance of the SoapException class with the specified exception message, exception code, and subcode.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::Web::Services::Protocols::SoapFaultSubCode ^ subcode);
public SoapException (string message, System.Xml.XmlQualifiedName code, System.Web.Services.Protocols.SoapFaultSubCode subcode);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * System.Web.Services.Protocols.SoapFaultSubCode -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, subcode As SoapFaultSubCode)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

subCode
SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode

An optional subcode for the SOAP fault. This parameter sets the SubCode property.

See also

SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(String, XmlQualifiedName, String, XmlNode, Exception) SoapException(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.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::Xml::XmlNode ^ detail, Exception ^ innerException);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor, System.Xml.XmlNode detail, Exception innerException);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string * System.Xml.XmlNode * Exception -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, detail As XmlNode, innerException As Exception)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String 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
XmlNode XmlNode XmlNode XmlNode

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

innerException
Exception Exception Exception Exception

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

SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, XmlNode, SoapFaultSubCode, 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.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::String ^ role, System::Xml::XmlNode ^ detail, System::Web::Services::Protocols::SoapFaultSubCode ^ subcode, Exception ^ innerException);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor, string role, System.Xml.XmlNode detail, System.Web.Services.Protocols.SoapFaultSubCode subcode, Exception innerException);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string * string * System.Xml.XmlNode * System.Web.Services.Protocols.SoapFaultSubCode * Exception -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, role As String, detail As XmlNode, subcode As SoapFaultSubCode, innerException As Exception)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String 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.

role
String String String String

A URI that represents the XML Web service's function in processing the SOAP message. This parameter sets the Role property.

detail
XmlNode XmlNode XmlNode XmlNode

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

subCode
SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode

An optional subcode for the SOAP fault. This parameter sets the SubCode property.

innerException
Exception Exception Exception Exception

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

SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, Exception) SoapException(String, XmlQualifiedName, String, String, String, XmlNode, SoapFaultSubCode, 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, URI that represents the XML Web service's function in processing the SOAP message, the human language associated with the exception, the application-specific exception information, the subcode for the SOAP fault and reference to the root cause of the exception.

public:
 SoapException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::String ^ role, System::String ^ lang, System::Xml::XmlNode ^ detail, System::Web::Services::Protocols::SoapFaultSubCode ^ subcode, Exception ^ innerException);
public SoapException (string message, System.Xml.XmlQualifiedName code, string actor, string role, string lang, System.Xml.XmlNode detail, System.Web.Services.Protocols.SoapFaultSubCode subcode, Exception innerException);
new System.Web.Services.Protocols.SoapException : string * System.Xml.XmlQualifiedName * string * string * string * System.Xml.XmlNode * System.Web.Services.Protocols.SoapFaultSubCode * Exception -> System.Web.Services.Protocols.SoapException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, role As String, lang As String, detail As XmlNode, subcode As SoapFaultSubCode, innerException As Exception)

Parameters

message
String String String String

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

code
XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName

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

actor
String String String 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.

role
String String String String

A URI that represents the XML Web service's function in processing the SOAP message. This parameter sets the Role property.

lang
String String String String

A human language associated with the exception. This parameter sets the Lang property.

detail
XmlNode XmlNode XmlNode XmlNode

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

subCode
SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode SoapFaultSubCode

An optional subcode for the SOAP fault. This parameter sets the SubCode property

innerException
Exception Exception Exception Exception

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

Applies to