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.

C#
public SoapHeaderException();

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapHeaderException(SerializationInfo, StreamingContext)

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

C#
protected SoapHeaderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapHeaderException(String, XmlQualifiedName)

Initializes a new instance of the SoapHeaderException class.

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapHeaderException(String, XmlQualifiedName, Exception)

Initializes a new instance of the SoapHeaderException class.

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, Exception innerException);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapHeaderException(String, XmlQualifiedName, String)

Initializes a new instance of the SoapHeaderException class.

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapHeaderException(String, XmlQualifiedName, String, Exception)

Initializes a new instance of the SoapHeaderException class.

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, Exception innerException);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

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

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, string role, System.Web.Services.Protocols.SoapFaultSubCode subCode, Exception innerException);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

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

C#
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, string role, string lang, System.Web.Services.Protocols.SoapFaultSubCode subCode, Exception innerException);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1