Język

FaultCode Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy FaultCode.

Przeciążenia

Nazwa Opis
FaultCode(String)

Inicjuje nowe wystąpienie klasy FaultCode.

FaultCode(String, FaultCode)

Inicjuje nowe wystąpienie klasy FaultCode.

FaultCode(String, String)

Inicjuje nowe wystąpienie FaultCode klasy z określoną nazwą i przestrzenią nazw.

FaultCode(String, String, FaultCode)

Inicjuje nowe wystąpienie FaultCode klasy z określoną nazwą, przestrzenią nazw i podkodowaniem błędów.

FaultCode(String)

Źródło:
FaultCode.cs
Źródło:
FaultCode.cs
Źródło:
FaultCode.cs

Inicjuje nowe wystąpienie klasy FaultCode.

public:
 FaultCode(System::String ^ name);
public FaultCode(string name);
new System.ServiceModel.FaultCode : string -> System.ServiceModel.FaultCode
Public Sub New (name As String)

Parametry

name
String

Nazwa kodu błędu.

Dotyczy

FaultCode(String, FaultCode)

Źródło:
FaultCode.cs
Źródło:
FaultCode.cs
Źródło:
FaultCode.cs

Inicjuje nowe wystąpienie klasy FaultCode.

public:
 FaultCode(System::String ^ name, System::ServiceModel::FaultCode ^ subCode);
public FaultCode(string name, System.ServiceModel.FaultCode subCode);
new System.ServiceModel.FaultCode : string * System.ServiceModel.FaultCode -> System.ServiceModel.FaultCode
Public Sub New (name As String, subCode As FaultCode)

Parametry

name
String

Nazwa kodu błędu.

subCode
FaultCode

Podkodowanie błędów.

Dotyczy

FaultCode(String, String)

Źródło:
FaultCode.cs
Źródło:
FaultCode.cs
Źródło:
FaultCode.cs

Inicjuje nowe wystąpienie FaultCode klasy z określoną nazwą i przestrzenią nazw.

public:
 FaultCode(System::String ^ name, System::String ^ ns);
public FaultCode(string name, string ns);
new System.ServiceModel.FaultCode : string * string -> System.ServiceModel.FaultCode
Public Sub New (name As String, ns As String)

Parametry

name
String

Lokalna nazwa kodu błędu.

ns
String

Nazwa przestrzeni nazw kodu błędu.

Wyjątki

name lub ns ma wartość null.

name jest pustym ciągiem.

Uwagi

Obiekt FaultCode jest używany w połączeniu z obiektem MessageFault w celu pełnego reprezentowania błędu protokołu SOAP.

Dotyczy

FaultCode(String, String, FaultCode)

Źródło:
FaultCode.cs
Źródło:
FaultCode.cs
Źródło:
FaultCode.cs

Inicjuje nowe wystąpienie FaultCode klasy z określoną nazwą, przestrzenią nazw i podkodowaniem błędów.

public:
 FaultCode(System::String ^ name, System::String ^ ns, System::ServiceModel::FaultCode ^ subCode);
public FaultCode(string name, string ns, System.ServiceModel.FaultCode subCode);
new System.ServiceModel.FaultCode : string * string * System.ServiceModel.FaultCode -> System.ServiceModel.FaultCode
Public Sub New (name As String, ns As String, subCode As FaultCode)

Parametry

name
String

Lokalna nazwa kodu błędu.

ns
String

Nazwa przestrzeni nazw kodu błędu.

subCode
FaultCode

FaultCode Obiekt reprezentujący podkodowanie błędów.

Wyjątki

name lub ns ma wartość null.

name jest pustym ciągiem.

Dotyczy