FaultCode.CreateSenderFaultCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a sender fault code with the specified subcode.
Overloads
CreateSenderFaultCode(FaultCode) |
Creates a sender fault code with the specified subcode. |
CreateSenderFaultCode(String, String) |
Creates a sender fault code with the specified subcode. |
CreateSenderFaultCode(FaultCode)
- Source:
- FaultCode.cs
- Source:
- FaultCode.cs
Creates a sender fault code with the specified subcode.
public:
static System::ServiceModel::FaultCode ^ CreateSenderFaultCode(System::ServiceModel::FaultCode ^ subCode);
public static System.ServiceModel.FaultCode CreateSenderFaultCode (System.ServiceModel.FaultCode subCode);
static member CreateSenderFaultCode : System.ServiceModel.FaultCode -> System.ServiceModel.FaultCode
Public Shared Function CreateSenderFaultCode (subCode As FaultCode) As FaultCode
Parameters
Returns
A FaultCode object with the created SOAP fault subcode in the SubCode property.
Exceptions
subCode
is null
.
Applies to
CreateSenderFaultCode(String, String)
- Source:
- FaultCode.cs
- Source:
- FaultCode.cs
Creates a sender fault code with the specified subcode.
public:
static System::ServiceModel::FaultCode ^ CreateSenderFaultCode(System::String ^ name, System::String ^ ns);
public static System.ServiceModel.FaultCode CreateSenderFaultCode (string name, string ns);
static member CreateSenderFaultCode : string * string -> System.ServiceModel.FaultCode
Public Shared Function CreateSenderFaultCode (name As String, ns As String) As FaultCode
Parameters
- name
- String
The local name for the fault subcode.
- ns
- String
The namespace name for the fault subcode.
Returns
A FaultCode object with the created SOAP fault subcode in SubCode.
Applies to
.NET