Attach Method
- Last UpdatedApr 08, 2026
- 1 minute read
Attaches to a point.
[Obsolete("Attach is deprecated. Use Subscribe instead.<-- [DECEMBER 2021]")]
public void Attach(
uint blockID,
string topic,
bool getFullDataQuality,
DALPSConnection.DALAttachDelegate attachDelegateMethod,
object clientObject
)
[Obsolete("Attach is deprecated. Use Subscribe instead.<-- [DECEMBER 2021]")]
public:
void Attach(
uint blockID,
String^ topic,
bool getFullDataQuality,
DALPSConnection.DALAttachDelegate^ attachDelegateMethod,
Object^ clientObject
)
Parameters
- blockID
- The Block ID.
- topic
- The PubSub topic.
- getFullDataQuality
- Get full data quality data. Set it to false to get no data quality data.
- attachDelegateMethod
- The callback to return the status of the Attach command. If the command is successful, the callback will return data for the attached topic.
- clientObject
- The reference to the client object.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Callback method not given. |
| System.ArgumentException | Block ID is zero. |