FaultReason.GetMatchingTranslation Method (CultureInfo)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the fault description in the specified language.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Function GetMatchingTranslation ( _ cultureInfo As CultureInfo _ ) As FaultReasonText
Parameters
- cultureInfo
- Type: System.Globalization.CultureInfo
A CultureInfo object that specifies the language of the fault description.
Return Value
Type: System.ServiceModel.FaultReasonTextA FaultReasonText object that contains the translated fault description.
Show: