| CargoWikiSiteExtensionsExecuteCargoQueryAsync(WikiSite, CargoQueryParameters) Method |
This is preliminary documentation and is subject to change.
Executes a Cargo query and retrieves the response rows.
Namespace: WikiClientLibrary.CargoAssembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static Task<IList<JsonObject>> ExecuteCargoQueryAsync(
this WikiSite site,
CargoQueryParameters queryParameters
)
<ExtensionAttribute>
Public Shared Function ExecuteCargoQueryAsync (
site As WikiSite,
queryParameters As CargoQueryParameters
) As Task(Of IList(Of JsonObject))
Dim site As WikiSite
Dim queryParameters As CargoQueryParameters
Dim returnValue As Task(Of IList(Of JsonObject))
returnValue = site.ExecuteCargoQueryAsync(queryParameters)
public:
[ExtensionAttribute]
static Task<IList<JsonObject^>^>^ ExecuteCargoQueryAsync(
WikiSite^ site,
CargoQueryParameters^ queryParameters
)
[<ExtensionAttribute>]
static member ExecuteCargoQueryAsync :
site : WikiSite *
queryParameters : CargoQueryParameters -> Task<IList<JsonObject>>
Parameters
- site WikiSite
- a MediaWiki site with Cargo extension installed.
- queryParameters CargoQueryParameters
- query parameters.
Return Value
TaskIListJsonObjecta list of rows, each item is a JSON object with field name as key.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WikiSite. 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 See Also