CultureNotFoundException Constructor (String, Int32, String)
Initializes a new instance of the CultureNotFoundException class with a specified error message, the invalid Culture ID, and the name of the parameter that is the cause this exception.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public CultureNotFoundException( string paramName, int invalidCultureId, string message )
<TemplateAttribute> _ Public Sub New ( _ paramName As String, _ invalidCultureId As Integer, _ message As String _ )
[TemplateAttribute] public: CultureNotFoundException( String^ paramName, int^ invalidCultureId, String^ message )
Parameters
- paramName
- Type: System..::..String
The name of the parameter that is the cause the current exception.
- invalidCultureId
- Type: System..::..Int32
The Culture ID that cannot be found.
- message
- Type: System..::..String
The error message to display with this exception.