Click or drag to resize

CoreExtensionsGetMessageFromExceptionCode Method (PFException, PFTranslations, 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 PFException exception,
	PFTranslations translations,
	PFItem item = null
)

Parameters

exception
Type: Packflow.CorePFException
translations
Type: Packflow.InterfacePFTranslations
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 PFException. 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