  | ScribuntoWikiSiteExtensionsScribuntoLoadDataAsyncT(WikiSite, String, String, CancellationToken) Method | 
This is preliminary documentation and is subject to change.
            Imports the Lua module with the specified name and gets the module content.
            
Namespace: WikiClientLibrary.ScribuntoAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntaxpublic static Task<T> ScribuntoLoadDataAsync<T>(
	this WikiSite site,
	string moduleName,
	string? epilog,
	CancellationToken cancellationToken
)
<ExtensionAttribute>
Public Shared Function ScribuntoLoadDataAsync(Of T) ( 
	site As WikiSite,
	moduleName As String,
	epilog As String,
	cancellationToken As CancellationToken
) As Task(Of T)
Dim site As WikiSite
Dim moduleName As String
Dim epilog As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of T)
returnValue = site.ScribuntoLoadDataAsync(moduleName, 
	epilog, cancellationToken)
public:
[ExtensionAttribute]
generic<typename T>
static Task<T>^ ScribuntoLoadDataAsync(
	WikiSite^ site, 
	String^ moduleName, 
	String^ epilog, 
	CancellationToken cancellationToken
)
[<ExtensionAttribute>]
static member ScribuntoLoadDataAsync : 
        site : WikiSite * 
        moduleName : string * 
        epilog : string * 
        cancellationToken : CancellationToken -> Task<'T> Parameters
- site  WikiSite
 - The MediaWiki site on which to evaluate the module.
 - moduleName  String
 - Name of the module to be imported, with or without Module: prefix.
 - epilog  String
 - The Lua code snippet used to return value from the imported module (denoted as p in Lua),
            or null to use default epilog (return p).
 - cancellationToken  CancellationToken
 - A token used to cancel the operation.
 
Type Parameters
- T
 - The expected evaluation return value type.
 
Return Value
TaskTThe deserialized Lua evaluation result of the module.
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).
Remarks
            This overload is intended to provide similar behavior to
            
mw.loadData,
            it works as long as the imported module meets the requirement of 
loadData function.
            
See Also