Click or drag to resize

CoreExtensionsGetMessageFromExceptionCode Method (PFTranslations, PFException, PFItem)

Gets the translated message of an exception specifying a Code from PFExceptionCodes.

A contextual PFItem can be included to improve the message with more information.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static Html GetMessageFromExceptionCode(
	this PFTranslations translations,
	PFException exception,
	PFItem item = null
)

Parameters

translations
Type: Packflow.InterfacePFTranslations
exception
Type: Packflow.CorePFException
item (Optional)
Type: Packflow.CorePFItem

Return Value

Type: Html

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PFTranslations. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also