FaultCode.CreateSenderFaultCode(FaultCode) 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.
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.