This EventType is generated by a ConnectionManager when an error is returned on an EstablishConnection Method invocation or any related actions. Its representation in the AddressSpace is formally defined in Table 116. The generation of this Event is not required, but this EventType provides a mapping from the returned EstablishConnection Method parameters to the LogEntry record structure. The mapping also applies to related actions.

Table 116 - EstablishConnectionErrorEventType definition

Attribute

Value

BrowseName

4:EstablishConnectionErrorEventType

IsAbstract

True

References

Node Class

BrowseName

Note

Subtype of the 0:BaseLogEventType.

ConformanceUnits

UAFX ConnectionManager LogObject Events

This EventType inherits all Properties of the BaseLogEventType.

The ConditionClassId shall be set to LogEntryConditionClassType.

SourceNode shall be the NodeId of the ConnectionConfigurationSet that is being processed.

SourceName shall be the BrowseName of the Connection that was being created. If the error is not related to a specific Connection, then it shall be “ConnectionManager”.

Message describes the issue. It shall include a description of the action that was being taken, e.g. resolving NodeIds, configuring an SKS, verifying Nodes, or establishing a Connection. It shall include the FxErrorEnum value reported in the ConnectionDiagnosticsDataType associated with this error.

ErrorCode shall contain the detailed error code returned in the nested return parameters of the EstablishConnection method or the error code returned in other processing. If multiple error codes are returned, then multiple records should be generated, one for each error code.

ErrorCodeNode shall contain the internal Node in the ConnectionConfigurationSet to which the error is related. For example, if the error was related to an asset verification, it would contain the NodeId of the AssetToVerify. It may be null if no specific Node is related to the LogRecord.

If ConnectionManagerLog is supported, this Event shall set either the ConditionClassType or a ConditionSubClassType to LogEntryConditionClassType, which results in the Event being mapped to LogObject records. If the LogObject is recording LogRecords, the ErrorCode and the ErrorCodeNode shall be included in the resulting LogRecord as AdditionalData.