Edit

Share via


SoapHeaderException Constructors

Definition

Initializes a new instance of the SoapHeaderException class.

Overloads

SoapHeaderException()

Initializes a new instance of the SoapHeaderException class.

SoapHeaderException(SerializationInfo, StreamingContext)

Initializes a new instance of the SoapHeaderException class with parameters for controlling serialization.

SoapHeaderException(String, XmlQualifiedName)

Initializes a new instance of the SoapHeaderException class.

SoapHeaderException(String, XmlQualifiedName, Exception)

Initializes a new instance of the SoapHeaderException class.

SoapHeaderException(String, XmlQualifiedName, String)

Initializes a new instance of the SoapHeaderException class.

SoapHeaderException(String, XmlQualifiedName, String, Exception)

Initializes a new instance of the SoapHeaderException class.

SoapHeaderException(String, XmlQualifiedName, String, String, SoapFaultSubCode, Exception)

Initializes a new instance of the SoapHeaderException class with the associated data.

SoapHeaderException(String, XmlQualifiedName, String, String, String, SoapFaultSubCode, Exception)

Initializes a new instance of the SoapHeaderException class with the associated data.

SoapHeaderException()

Initializes a new instance of the SoapHeaderException class.

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

Applies to

SoapHeaderException(SerializationInfo, StreamingContext)

Initializes a new instance of the SoapHeaderException class with parameters for controlling serialization.

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

Parameters

info
SerializationInfo

A SerializationInfo that contains values that are used during serialization and deserialization.

context
StreamingContext

A SoapHeaderException(SerializationInfo, StreamingContext) that contains data about the source and destination of the serialization stream.

Applies to

SoapHeaderException(String, XmlQualifiedName)

Initializes a new instance of the SoapHeaderException class.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

Applies to

SoapHeaderException(String, XmlQualifiedName, Exception)

Initializes a new instance of the SoapHeaderException class.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

innerException
Exception

A reference to the root cause of an exception. This parameter sets the InnerException property.

Applies to

SoapHeaderException(String, XmlQualifiedName, String)

Initializes a new instance of the SoapHeaderException class.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

actor
String

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.

Applies to

SoapHeaderException(String, XmlQualifiedName, String, Exception)

Initializes a new instance of the SoapHeaderException class.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

actor
String

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

A reference to the root cause of an exception. This parameter sets the InnerException property.

Applies to

SoapHeaderException(String, XmlQualifiedName, String, String, SoapFaultSubCode, Exception)

Initializes a new instance of the SoapHeaderException class with the associated data.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

actor
String

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

An URI that represents the role of the XML Web service in the processing of the SOAP message. This parameter sets the Role property.

subCode
SoapFaultSubCode

A SoapFaultSubCode that contains the contents of the <subcode> element of a SOAP fault.

innerException
Exception

A reference to the root cause of the exception. This parameter sets the InnerException property.

Applies to

SoapHeaderException(String, XmlQualifiedName, String, String, String, SoapFaultSubCode, Exception)

Initializes a new instance of the SoapHeaderException class with the associated data.

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

Parameters

message
String

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

code
XmlQualifiedName

The type of error that occurred. This parameter sets the Code property.

actor
String

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

An URI that represents the role of the XML Web service in the processing of the SOAP message. This parameter sets the Role property.

lang
String

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

subCode
SoapFaultSubCode

A SoapFaultSubCode that contains the contents of the subcode element of a SOAP fault.

innerException
Exception

A reference to the root cause of an exception. This parameter sets the InnerException property.

Applies to