System.Globalization.CultureNotFoundException Class

The exception thrown when a method is invoked which attempts to construct a culture that is not available on the machine.

See Also: CultureNotFoundException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class CultureNotFoundException : ArgumentException

Remarks

System.Globalization.CultureNotFoundException is thrown whenever the construction of an invalid culture is eventually attempted within a method.

System.Globalization.CultureNotFoundException uses the HRESULT COR_E_ARGUMENT, which has the value 0x80070057.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0