FaultCode::CreateSenderFaultCode Method (String^, String^)

 

Creates a sender fault code with the specified subcode.

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

public:
static FaultCode^ CreateSenderFaultCode(
	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 object with the created SOAP fault subcode in SubCode.

.NET Framework
Available since 3.0
Return to top
Show: