Click or drag to resize

WikiPageExtensionsRefreshAsync(IEnumerableWikiPage, PageQueryOptions, 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.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public static Task RefreshAsync(
	this IEnumerable<WikiPage> pages,
	PageQueryOptions options,
	CancellationToken cancellationToken
)

Parameters

pages  IEnumerableWikiPage
A sequence of pages to be refreshed.
options  PageQueryOptions
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