AsyncDocumentLoadCallback Delegate |
Represents a method to be called asynchronously when a document is loaded.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public delegate Task AsyncDocumentLoadCallback(
ValueRef<DocumentInfo> info,
Stream contents
)
Public Delegate Function AsyncDocumentLoadCallback (
info As ValueRef(Of DocumentInfo),
contents As Stream
) As Task
public delegate Task^ AsyncDocumentLoadCallback(
ValueRef<DocumentInfo>^ info,
Stream^ contents
)
type AsyncDocumentLoadCallback =
delegate of
info : ValueRef<DocumentInfo> *
contents : Stream -> Task
Parameters
- info ValueRefDocumentInfo
- A structure containing meta-information for the document.
- contents Stream
- A stream that provides read access to the document.
Return Value
TaskA task that represents the method's asynchronous operation.
Remarks
The callback can modify the document meta-information by specifying or overriding any of
its mutable properties.
See Also