SoapException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SoapException.

Przeciążenia

SoapException()

Inicjuje nowe wystąpienie klasy SoapException.

SoapException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy SoapException z zserializowanymi danymi.

SoapException(String, XmlQualifiedName)

Inicjuje SoapException nowe wystąpienie klasy z określonym komunikatem wyjątku i kodem wyjątku.

SoapException(String, XmlQualifiedName, Exception)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku i odwołaniem do głównej przyczyny wyjątku.

SoapException(String, XmlQualifiedName, String)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodzie wyjątku i identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek.

SoapException(String, XmlQualifiedName, SoapFaultSubCode)

Inicjuje SoapException nowe wystąpienie klasy z określonym komunikatem wyjątku, kodem wyjątku i podkodem.

SoapException(String, XmlQualifiedName, String, Exception)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje kod, który spowodował wyjątek, i odwołuje się do głównej przyczyny wyjątku.

SoapException(String, XmlQualifiedName, String, XmlNode)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodzie wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, oraz informacje o wyjątku specyficznym dla aplikacji.

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, informacje o wyjątku specyficzne dla aplikacji i odwołuje się do głównej przyczyny wyjątku.

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, informacje o wyjątku specyficzne dla aplikacji i odwołuje się do głównej przyczyny wyjątku.

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, identyfikator URI reprezentujący funkcję usługi sieci Web XML w przetwarzaniu komunikatu SOAP, język ludzki skojarzony z wyjątkiem, informacje o wyjątku specyficzne dla aplikacji, kod podrzędny błędu PROTOKOŁU SOAP i odwołanie do głównej przyczyny wyjątku.

SoapException()

Inicjuje nowe wystąpienie klasy SoapException.

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

Dotyczy

SoapException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy SoapException z zserializowanymi danymi.

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)

Parametry

info
SerializationInfo

Obiekt SerializationInfo zawierający dane zserializowanego obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Obiekt StreamingContext zawierający informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Dotyczy

SoapException(String, XmlQualifiedName)

Inicjuje SoapException nowe wystąpienie klasy z określonym komunikatem wyjątku i kodem wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

Zobacz też

Dotyczy

SoapException(String, XmlQualifiedName, Exception)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku i odwołaniem do głównej przyczyny wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

innerException
Exception

Wyjątek, który jest główną przyczyną wyjątku. Ten parametr ustawia InnerException właściwość .

Zobacz też

Dotyczy

SoapException(String, XmlQualifiedName, String)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodzie wyjątku i identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący kod, który spowodował wyjątek. Zazwyczaj jest to adres URL metody usługi sieci Web XML. Ten parametr ustawia Actor właściwość .

Zobacz też

Dotyczy

SoapException(String, XmlQualifiedName, SoapFaultSubCode)

Inicjuje SoapException nowe wystąpienie klasy z określonym komunikatem wyjątku, kodem wyjątku i podkodem.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

subCode
SoapFaultSubCode

Opcjonalny kod podrzędny błędu protokołu SOAP. Ten parametr ustawia SubCode właściwość .

Zobacz też

Dotyczy

SoapException(String, XmlQualifiedName, String, Exception)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje kod, który spowodował wyjątek, i odwołuje się do głównej przyczyny wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący 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

Wyjątek, który jest główną przyczyną wyjątku. Ten parametr ustawia InnerException właściwość .

Zobacz też

Dotyczy

SoapException(String, XmlQualifiedName, String, XmlNode)

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodzie wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, oraz informacje o wyjątku specyficznym dla aplikacji.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący 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ść .

detail
XmlNode

Element XmlNode zawierający informacje o wyjątkach specyficznych dla aplikacji. Ten parametr ustawia Detail właściwość .

Dotyczy

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, informacje o wyjątku specyficzne dla aplikacji i odwołuje się do głównej przyczyny wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący 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ść .

detail
XmlNode

Element XmlNode zawierający informacje o wyjątkach specyficznych dla aplikacji. Ten parametr ustawia Detail właściwość .

innerException
Exception

Wyjątek, który jest główną przyczyną wyjątku. Ten parametr ustawia InnerException właściwość .

Dotyczy

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, informacje o wyjątku specyficzne dla aplikacji i odwołuje się do głównej przyczyny wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący 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 funkcję usługi sieci Web XML w przetwarzaniu komunikatu PROTOKOŁU SOAP. Ten parametr ustawia Role właściwość .

detail
XmlNode

Element XmlNode zawierający informacje o wyjątkach specyficznych dla aplikacji. Ten parametr ustawia Detail właściwość .

subCode
SoapFaultSubCode

Opcjonalny kod podrzędny błędu protokołu SOAP. Ten parametr ustawia SubCode właściwość .

innerException
Exception

Wyjątek, który jest główną przyczyną wyjątku. Ten parametr ustawia InnerException właściwość .

Dotyczy

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

Inicjuje nowe wystąpienie SoapException klasy z określonym komunikatem o wyjątku, kodem wyjątku, identyfikatorem URI, który identyfikuje fragment kodu, który spowodował wyjątek, identyfikator URI reprezentujący funkcję usługi sieci Web XML w przetwarzaniu komunikatu SOAP, język ludzki skojarzony z wyjątkiem, informacje o wyjątku specyficzne dla aplikacji, kod podrzędny błędu PROTOKOŁU SOAP i odwołanie do głównej przyczyny wyjątku.

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)

Parametry

message
String

Komunikat identyfikujący przyczynę wystąpienia wyjątku. Ten parametr ustawia Message właściwość .

code
XmlQualifiedName

Element XmlQualifiedName określający typ błędu, który wystąpił. Ten parametr ustawia Code właściwość .

actor
String

Identyfikator URI identyfikujący 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 funkcję usługi sieci Web XML w przetwarzaniu komunikatu PROTOKOŁU SOAP. Ten parametr ustawia Role właściwość .

lang
String

Język ludzki skojarzony z wyjątkiem. Ten parametr ustawia Lang właściwość .

detail
XmlNode

Element XmlNode zawierający informacje o wyjątkach specyficznych dla aplikacji. Ten parametr ustawia Detail właściwość .

subCode
SoapFaultSubCode

Opcjonalny kod podrzędny błędu protokołu SOAP. Ten parametr ustawia SubCode właściwość .

innerException
Exception

Wyjątek, który jest główną przyczyną wyjątku. Ten parametr ustawia InnerException właściwość .

Dotyczy