Click or drag to resize

WikiPageRefreshAsync(IWikiPageQueryProvider, CancellationToken) Method

This is preliminary documentation and is subject to change.

Fetch information for the page.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
public Task RefreshAsync(
	IWikiPageQueryProvider options,
	CancellationToken cancellationToken
)

Parameters

options  IWikiPageQueryProvider
Options when querying for the pages.
cancellationToken  CancellationToken
The cancellation token that will be checked prior to completing the returned task.

Return Value

Task
Exceptions
ExceptionCondition
InvalidOperationExceptionCircular redirect detected when resolving redirects.
Remarks
For fetching multiple pages at one time, see RefreshAsync(IEnumerableWikiPage, PageQueryOptions).
See Also