CreateSenderFaultCode Method (String, String)
Collapse the table of content
Expand the table of content

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


Type: System.String

The local name for the fault subcode.

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
© 2016 Microsoft