Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_Validation_CAEXTables_UpdateAllTables

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXTables.UpdateAllTables Method

Update all Tables which makes access to CAEXElements with keys faster. All Descendants of the CAEXFile-Node, which are managed, are registered with their actual Keys. If a Key changes for a Caex-Object, UpdateCAEXObjectRegistration(CAEXBasicObject, Boolean, Boolean) should be called. This Method is queued in the update execution queue if the async-Parameter is true. If the Task is completed, a TableUpdateEvent is raised with UpdateAction set to UpdateTaskCompleted.

Remarks

For an asynchronous execution, this Method will only be executed, if it is not already waiting in the Update Execution Queue or already processing. If it is already running or waiting, the Call is not queued and the method returns false. If a synchronous execution is specified, all pending updates are aborted and the Tables are updated immediately.

Return Value

Type: Boolean
true, if this method call is queued in the update execution queue

Namespace: CAEX_ClassModel.Validation
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public bool UpdateAllTables(
	bool async = true
)

C++

public:
bool UpdateAllTables(
	bool async = true
)

Parameters

 

async (Optional)
Type: System.Boolean
if set to true, the method is queued and runs asynchronously, otherwise synchronously

Return Value

Type: Boolean

See Also

Reference

CAEXTables Class
CAEX_ClassModel.Validation Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally