Share via


FaultReason.GetMatchingTranslation Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Gets the fault description in the language used by the current thread.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone GetMatchingTranslation() Gets the fault description in the language used by the current thread.
Public methodSupported by Silverlight for Windows Phone GetMatchingTranslation(CultureInfo) Gets the fault description in the specified language.

Top

Remarks

A translation is always returned.

  • If only one translation exists, it is returned.

  • If there is an exact match for a CultureInfo.CurrentCulture, that is returned.

  • If there is a translation for a parent language of CultureInfo.CurrentCulture, that is returned.

  • Otherwise, the first translation in the set is returned.