Click or drag to resize

UploadWarningCollectionFormatWarning Method

This is preliminary documentation and is subject to change.

Try to convert the specified warning code and context into a user-friendly warning message.

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static string FormatWarning(
	string warningCode,
	JsonElement context
)

Parameters

warningCode  String
Case-sensitive warning code.
context  JsonElement
The extra content of the warning.

Return Value

String
It tries to match the warningCode with well-known ones, and returns a user-friendly warning message. If there's no match, a string containing warningCode and context will be returned.
See Also