Click or drag to resize

WikiSite(IWikiClient, SiteOptions) Constructor

This is preliminary documentation and is subject to change.

Initializes a WikiSite instance with the specified settings.

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

Parameters

wikiClient  IWikiClient
WikiClient instance.
options  SiteOptions
Site options.
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