Parameters
- dataSource
- Selects the data source for OPC reads (from device, from OPC cache, or dynamically determined).
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | An invalid enumeration value was used. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this constructor explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.