Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft