| 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.BilingualApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntaxvoid ReportMessage(
Object source,
string origin,
ErrorLevel level,
string message,
TextLocation fromLocation,
TextLocation uptoLocation
)
Sub ReportMessage (
source As Object,
origin As String,
level As ErrorLevel,
message As String,
fromLocation As TextLocation,
uptoLocation As TextLocation
)
void ReportMessage(
Object^ source,
String^ origin,
ErrorLevel level,
String^ message,
TextLocation^ fromLocation,
TextLocation^ uptoLocation
)
abstract ReportMessage :
source : Object *
origin : string *
level : ErrorLevel *
message : string *
fromLocation : TextLocation *
uptoLocation : TextLocation -> unit
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
Comments