BuildComponentCoreWriteMessage(String, MessageLevel, String, Object) Method
This can be used to report a message for a specific topic ID
Namespace: Sandcastle.Core.BuildAssembler.BuildComponentAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public void WriteMessage(
string key,
MessageLevel level,
string message,
params Object[] args
)
Public Sub WriteMessage (
key As String,
level As MessageLevel,
message As String,
ParamArray args As Object()
)
public:
void WriteMessage(
String^ key,
MessageLevel level,
String^ message,
... array<Object^>^ args
)
member WriteMessage :
key : string *
level : MessageLevel *
message : string *
args : Object[] -> unit
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
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.