Click or drag to resize

WikiSiteGetMessagesAsync(IEnumerableString) Method

This is preliminary documentation and is subject to change.

Get the content of some or all MediaWiki interface messages.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<IDictionary<string, string>> GetMessagesAsync(
	IEnumerable<string> messages
)

Parameters

messages  IEnumerableString
A sequence of message names.

Return Value

TaskIDictionaryString, String
A dictionary of message name - message content pairs. If some messages cannot be found, the corresponding value will be null.
Exceptions
ExceptionCondition
ArgumentExceptionmessages contains null item. OR one of the messages contains pipe character (|).
InvalidOperationException Trying to fetch all the messages with "*" input.
See Also