Click or drag to resize

WikiSiteGetMessageAsync(String) Method

This is preliminary documentation and is subject to change.

Get the content of MediaWiki interface message.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<string?> GetMessageAsync(
	string message
)

Parameters

message  String
The message name.

Return Value

TaskString
The message content. OR null if the messages cannot be found.
Exceptions
ExceptionCondition
ArgumentExceptionmessage contains pipe character (|).
InvalidOperationException Trying to fetch all the messages with "*" input.
See Also