Export (0) Print
Expand All

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.

ExceptionCondition
ArgumentNullException

subCode is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft