 | CAEXDocumentLoadFromBinaryAsync Method |
Loading a CAEX file from the specified Byte-Array asynchronously.
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static Task<CAEXDocument> LoadFromBinaryAsync(
byte[] binary,
CancellationToken cancellationToken = default,
bool createIndices = false
)
Public Shared Function LoadFromBinaryAsync (
binary As Byte(),
Optional cancellationToken As CancellationToken = Nothing,
Optional createIndices As Boolean = false
) As Task(Of CAEXDocument)
public:
static Task<CAEXDocument^>^ LoadFromBinaryAsync(
array<unsigned char>^ binary,
CancellationToken cancellationToken = CancellationToken(),
bool createIndices = false
)
Parameters
- binary Byte
- The CAEX file to load
- cancellationToken CancellationToken (Optional)
- The cancellation token
- createIndices Boolean (Optional)
- if set to true, indices for fast access are loaded for the default QueryService.
Please note, that this option is only recommended to be set for read only documents, because the indices
will not be updated when a document is changed. For editable documents the LookupService should be used.
Return Value
TaskCAEXDocument
A CAEXDocument containing the CAEX-Nodes
See Also