Click or drag to resize

WikiPageExtensionsRefreshAsync(IEnumerableWikiPage, IWikiPageQueryProvider, CancellationToken) Method

This is preliminary documentation and is subject to change.

Asynchronously fetch information for a sequence of pages.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static Task RefreshAsync(
	this IEnumerable<WikiPage> pages,
	IWikiPageQueryProvider options,
	CancellationToken cancellationToken
)

Parameters

pages  IEnumerableWikiPage
A sequence of pages to be refreshed.
options  IWikiPageQueryProvider
Provides options when performing the query.
cancellationToken  CancellationToken
The cancellation token that will be checked prior to completing the returned task.

Return Value

Task

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableWikiPage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidOperationExceptionCircular redirect detected when resolving redirects.
Remarks
It's recommended that pages is a list or a subset of a list that is hold by caller, because this method will not return the refreshed pages.
See Also