FaultCode::CreateSenderFaultCode Method (FaultCode^)

 

Creates a sender fault code with the specified subcode.

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

public:
static FaultCode^ CreateSenderFaultCode(
	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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: