Click or drag to resize

WikiSite(IWikiClient, String) Constructor

This is preliminary documentation and is subject to change.

Initializes a WikiSite instance with the specified API endpoint.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public WikiSite(
	IWikiClient wikiClient,
	string apiEndpoint
)

Parameters

wikiClient  IWikiClient
WikiClient instance.
apiEndpoint  String

[Missing <param name="apiEndpoint"/> documentation for "M:WikiClientLibrary.Sites.WikiSite.#ctor(WikiClientLibrary.Client.IWikiClient,System.String)"]

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