BuildComponentCoreWriteMessage(String, MessageLevel, String, Object) Method

This can be used to report a message for a specific topic ID

Definition

Namespace: Sandcastle.Core.BuildAssembler.BuildComponent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public void WriteMessage(
	string key,
	MessageLevel level,
	string message,
	params Object[] args
)

Parameters

key  String
The topic key related to the message
level  MessageLevel
The message level
message  String
The message to report
args  Object
An optional list of arguments to format into the message

Remarks

This is useful for warning and error messages as the topic ID will be included even when the message level is set to warnings or higher. In such cases, the informational messages containing the "building topic X" messages are suppressed.

See Also