Click or drag to resize

WikiaSiteWikiaApiExtensionsFetchUsersAsync Method

This is preliminary documentation and is subject to change.

Asynchronously fetches the specified users' information.

Namespace: WikiClientLibrary.Wikia.WikiaApi
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static IAsyncEnumerable<UserInfo> FetchUsersAsync(
	this WikiaSite site,
	IEnumerable<string> userNames,
	CancellationToken cancellationToken = default
)

Parameters

site  WikiaSite
The site to issue the request.
userNames  IEnumerableString
The usernames to be fetched.
cancellationToken  CancellationToken  (Optional)

[Missing <param name="cancellationToken"/> documentation for "M:WikiClientLibrary.Wikia.WikiaApi.WikiaSiteWikiaApiExtensions.FetchUsersAsync(WikiClientLibrary.Wikia.Sites.WikiaSite,System.Collections.Generic.IEnumerable{System.String},System.Threading.CancellationToken)"]

Return Value

IAsyncEnumerableUserInfo
An asynchronous sequence containing the detailed user information. The usernames are normalized locally to ensure the first character is upper-case. Non-existent usernames are skipped.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WikiaSite. 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
ArgumentNullExceptionEither site or userNames is null.
See Also