SiteBaseBuildHTMLException Method (String, CSException, Boolean, Boolean, CSApplicationSupportedLanguages) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns HTML code for a CS exception.

Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string BuildHTMLException(
	string componentName,
	CSException csException,
	bool includeBlockElement,
	bool translateMessage,
	CSApplicationSupportedLanguages language
)

Parameters

componentName
Type: SystemString
The name of the AS component that has thrown the error.
csException
Type: ContentStudioCSException
The CS exception thrown from the AS component.
includeBlockElement
Type: SystemBoolean
Set true if the message should be included in a block element, otherwise false.
translateMessage
Type: SystemBoolean
Set true if the error message should be translated, otherwise false.
language
Type: ContentStudioCSApplicationSupportedLanguages
The language to which the message should be translated

Return Value

Type: String
Returns HTML code for a CS exception.
See Also

Reference