Click or drag to resize
IBilingualContentMessageReporterReportMessage Method
Used by bilingual content processors to report a non-critical issue with an associated range or location in the bilingual object model.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
void ReportMessage(
	Object source,
	string origin,
	ErrorLevel level,
	string message,
	TextLocation fromLocation,
	TextLocation uptoLocation
)

Parameters

source
Type: SystemObject
The component the message originates from. Components typically pass this as parameter.
origin
Type: SystemString
The description of the action/component from which this message originated.
level
Type: Sdl.FileTypeSupport.Framework.NativeApiErrorLevel
Severity of the message.
message
Type: SystemString
The actual message text.
fromLocation
Type: Sdl.FileTypeSupport.Framework.BilingualApiTextLocation
Start of the content range that the message refers to.
uptoLocation
Type: Sdl.FileTypeSupport.Framework.BilingualApiTextLocation
The end of the content range that the message refers to. This parameter is optional; it may be null or the same object as the one from the location, in which case the message is interpreted as referring to a single location rather than a range.
Remarks

The location objects allow a bilingual content processor to report locations inside the bilingual content model (without requiring modifications to the object model).

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments