FaultCode.CreateReceiverFaultCode Method (String, String)

 

Creates a receiver fault code with the specified subcode.

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

public static FaultCode CreateReceiverFaultCode(
	string name,
	string ns
)

Parameters

name
Type: System.String

The local name for the fault subcode.

ns
Type: System.String

The namespace name for the fault subcode.

Return Value

Type: System.ServiceModel.FaultCode

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

.NET Framework
Available since 3.0
Return to top
Show: