SoapHeaderException Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy SoapHeaderException.
Przeciążenia
SoapHeaderException()
Inicjuje nowe wystąpienie klasy SoapHeaderException.
public:
SoapHeaderException();
public SoapHeaderException();
Public Sub New ()
Dotyczy
SoapHeaderException(SerializationInfo, StreamingContext)
Inicjuje SoapHeaderException nowe wystąpienie klasy z parametrami do kontrolowania serializacji.
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)
Parametry
- info
- SerializationInfo
Element SerializationInfo zawierający wartości używane podczas serializacji i deserializacji.
- context
- StreamingContext
Element SoapHeaderException(SerializationInfo, StreamingContext) zawierający dane dotyczące źródła i miejsca docelowego strumienia serializacji.
Dotyczy
SoapHeaderException(String, XmlQualifiedName)
Inicjuje nowe wystąpienie klasy SoapHeaderException.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
Dotyczy
SoapHeaderException(String, XmlQualifiedName, Exception)
Inicjuje nowe wystąpienie klasy SoapHeaderException.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
- innerException
- Exception
Odwołanie do głównej przyczyny wyjątku. Ten parametr ustawia InnerException właściwość .
Dotyczy
SoapHeaderException(String, XmlQualifiedName, String)
Inicjuje nowe wystąpienie klasy SoapHeaderException.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
- actor
- String
Fragment kodu, który spowodował wyjątek. Zazwyczaj jest to adres URL metody usługi sieci Web XML. Ten parametr ustawia Actor właściwość .
Dotyczy
SoapHeaderException(String, XmlQualifiedName, String, Exception)
Inicjuje nowe wystąpienie klasy SoapHeaderException.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
- actor
- String
Fragment kodu, który spowodował wyjątek. Zazwyczaj jest to adres URL metody usługi sieci Web XML. Ten parametr ustawia Actor właściwość .
- innerException
- Exception
Odwołanie do głównej przyczyny wyjątku. Ten parametr ustawia InnerException właściwość .
Dotyczy
SoapHeaderException(String, XmlQualifiedName, String, String, SoapFaultSubCode, Exception)
Inicjuje nowe wystąpienie SoapHeaderException klasy ze skojarzonymi danymi.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
- actor
- String
Fragment kodu, który spowodował wyjątek. Zazwyczaj jest to adres URL metody usługi sieci Web XML. Ten parametr ustawia Actor właściwość .
- role
- String
Identyfikator URI reprezentujący rolę usługi sieci Web XML w przetwarzaniu komunikatu PROTOKOŁU SOAP. Ten parametr ustawia Role właściwość .
- subCode
- SoapFaultSubCode
Element SoapFaultSubCode zawierający zawartość <subcode> elementu błędu protokołu SOAP.
- innerException
- Exception
Odwołanie do głównej przyczyny wyjątku. Ten parametr ustawia InnerException właściwość .
Dotyczy
SoapHeaderException(String, XmlQualifiedName, String, String, String, SoapFaultSubCode, Exception)
Inicjuje nowe wystąpienie SoapHeaderException klasy ze skojarzonymi danymi.
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)
Parametry
- message
- String
Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .
- code
- XmlQualifiedName
Typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .
- actor
- String
Fragment kodu, który spowodował wyjątek. Zazwyczaj jest to adres URL metody usługi sieci Web XML. Ten parametr ustawia Actor właściwość .
- role
- String
Identyfikator URI reprezentujący rolę usługi sieci Web XML w przetwarzaniu komunikatu PROTOKOŁU SOAP. Ten parametr ustawia Role właściwość .
- lang
- String
Ciąg identyfikujący język ludzki skojarzony z wyjątkiem. Ten parametr ustawia Lang właściwość .
- subCode
- SoapFaultSubCode
Element SoapFaultSubCode zawierający zawartość subcode elementu błędu protokołu SOAP.
- innerException
- Exception
Odwołanie do głównej przyczyny wyjątku. Ten parametr ustawia InnerException właściwość .