CommonDatabaseFunctions.GetLocalizedError Method

Scanjour Workflow4 Reference Manual
Retrieves a localized validation error, formatted with arguments.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax

public static string GetLocalizedError(
	Uri oDataUri,
	InfoEnum error,
	string culture,
	string[] args = null
)

Parameters

oDataUri
Type: System.Uri
The OData Service endpoint.
error
Type: Scanjour.Workflow4.Base.InfoEnum
Error containing InfoEnum error and array of any arguments.
culture
Type: System.String
The culture used for specifying the language used in the error message.
args (Optional)
Type:System.String[]
Any arguments for the error message.

Return Value

Type: String
Localized error message, formatted with arguments
See Also

Reference