 | WikiPageExtensionsRefreshAsync(IEnumerableWikiPage, PageQueryOptions, CancellationToken) Method |
This is preliminary documentation and is subject to change.
Asynchronously fetch information for a sequence of pages.
Namespace: WikiClientLibrary.PagesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntaxpublic static Task RefreshAsync(
this IEnumerable<WikiPage> pages,
PageQueryOptions options,
CancellationToken cancellationToken
)
<ExtensionAttribute>
Public Shared Function RefreshAsync (
pages As IEnumerable(Of WikiPage),
options As PageQueryOptions,
cancellationToken As CancellationToken
) As Task
Dim pages As IEnumerable(Of WikiPage)
Dim options As PageQueryOptions
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = pages.RefreshAsync(options,
cancellationToken)
public:
[ExtensionAttribute]
static Task^ RefreshAsync(
IEnumerable<WikiPage^>^ pages,
PageQueryOptions options,
CancellationToken cancellationToken
)
[<ExtensionAttribute>]
static member RefreshAsync :
pages : IEnumerable<WikiPage> *
options : PageQueryOptions *
cancellationToken : CancellationToken -> Task
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
TaskUsage 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
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