FaultCode::CreateReceiverFaultCode Method (FaultCode^)

 

Creates a receiver fault code with the specified subcode.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
static FaultCode^ CreateReceiverFaultCode(
	FaultCode^ subCode
)

Parameters

subCode
Type: System.ServiceModel::FaultCode^

A FaultCode object that represents the fault subcode.

Return Value

Type: System.ServiceModel::FaultCode^

A FaultCode object with the created SOAP fault subcode in the SubCode property.

Exception Condition
ArgumentNullException

subCode is null.

.NET Framework
Available since 3.0
Return to top
Show: