LogicEngine.GetModelOutputPortValue Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Engine Namespace > LogicEngine Class > LogicEngine Methods >

LogicEngine.GetModelOutputPortValue Method

Retrieves the value of a specified output port from a model instance.

Namespace: BNCS.Logic.Engine
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static Object GetModelOutputPortValue(
 Guid modelId,
 Guid outputId
)

Parameters

modelId

Type: Guid
The unique identifier of the model instance.

outputId

Type: Guid
The unique identifier of the output port.

Return Value

The value of the specified output port.

 

Exceptions


Exception

Condition

[KeyNotFoundException]

Thrown when the model with the specified modelId is not found or when the output port with the specified outputId is not found.

 

See Also


LogicEngine Class

BNCS.Logic.Engine Namespace