PinPad.PromptLanguage Property
2/27/2008
Specifies the language in which the message specified by the Prompt property will be displayed, as defined by the CultureInfo .NET Framework class.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property PromptLanguage As CultureInfo
public abstract CultureInfo PromptLanguage { get; set; }
public:
virtual property CultureInfo^ PromptLanguage {
CultureInfo^ get () abstract;
void set (CultureInfo^ value) abstract;
}
/** @property */
public abstract CultureInfo get_PromptLanguage ()
/** @property */
public abstract void set_PromptLanguage (CultureInfo value)
public abstract function get PromptLanguage () : CultureInfo
public abstract function set PromptLanguage (value : CultureInfo)
Remarks
The exact effect of changing PromptLanguage depends on the value of the CapLanguage property.
The values for PromptLanguage are Microsoft Windows Language IDs, defined in the .NET Framework Class Library documentation. The service object initializes PromptLanguage to a default value when the application calls the Open method.
Accessing PromptLanguage may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Busy |
PIN entry is currently enabled. |
Illegal |
One of the following conditions occurred:The application tried to set PromptLanguage to a value that doesn’t exist in the AvailableLanguagesList property; orOnly one language is supported, and it is not the language specified. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
PinPad.CapLanguage Property