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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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