LocalizedMethodFault

LocalizedMethodFault
LocalizedMethodFault

A wrapper class used to pass MethodFault data objects over the wire along with a localized display message for the fault.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "fault": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    },
    "localizedMessage": "string"
}
fault
Required

The base data object type for all the object model faults that an application might handle.

string
localizedMessage
Optional

The localized message that would be sent in the faultstring element of the SOAP Fault.

It is optional so that clients are not required to send a localized message to the server, but servers are required to send the localized message to clients.