Gets or sets a value indicating whether to attempt to set IceLib's background threads' CurrentUICulture.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public bool AttemptToSetThreadCulture { get; set; }
Visual Basic
Public Property AttemptToSetThreadCulture As Boolean
	Get
	Set

Field Value

trueTruetruetrue (True in Visual Basic) if should attempt to set thread culture; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

This is an optional convenience that simplifies the work of any custom applications that require their threads' CurrentUICulture to be set. IceLib does not rely on AttemptToSetThreadCulture for whether it should load its string resources, but does use CultureInfo.

If set to trueTruetruetrue (True in Visual Basic), IceLib will attempt to set the CurrentUICulture of its background threads to the value in CultureInfo (as specified by SessionSettings.IsoLanguage).

Note
The background threads' CurrentCulture will never be set by IceLib.

This setting defaults to trueTruetruetrue (True in Visual Basic).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also