BncsFramework.AddMonitoredDeviceInstance Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods >

BncsFramework.AddMonitoredDeviceInstance Method

Adds a monitored device instance to the collection of BNCS instances.

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

 

Syntax


public static void AddMonitoredDeviceInstance(
 string instanceId,
 bool autoRegister
)

Parameters

instanceId

Type: String
The unique identifier of the instance to be added.

autoRegister

Type: Boolean
A boolean value indicating whether to automatically register parameter callbacks. Defaults to true.

 

Exceptions


Exception

Condition

[KeyNotFoundException]

Thrown when the instance with the specified instanceId is not found.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace