Parameters
- dataTypeDescriptor
- Identifies an OPC UA data type together with its data type dictionary.
- genericData
- The generic data to be encoded.
Return Value
A value result: A success with the encoded extension object body, or a failure.
The data type dictionary in the data type descriptor dataTypeDescriptor must refer to a dictionary that is known in the data type system (either intrinsically, by configuration, or added through the AddDataTypeDictionary method). The data type description in the dataTypeDescriptor must be valid and exist in the data type dictionary.