Click or drag to resize

WikiaSite(IWikiClient, String) Constructor

This is preliminary documentation and is subject to change.

Initializes a new WikiaSite instance from the Wikia site root URL.

Namespace: WikiClientLibrary.Wikia.Sites
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public WikiaSite(
	IWikiClient wikiClient,
	string siteRootUrl
)

Parameters

wikiClient  IWikiClient
WikiClient instance.
siteRootUrl  String
Wikia site root URL, with the ending slash. e.g. http://community.wikia.com/.
Exceptions
ExceptionCondition
UnauthorizedOperationExceptionCannot access query API module due to target site permission settings. You may need to use WikiSite(IWikiClient, SiteOptions, String, String) to login before any other API requests.
ArgumentNullExceptionwikiClient or options is null. - OR - userName is not null, but password is null.
ArgumentExceptionOne or more settings in options is invalid.
See Also