Detach Method
- Last UpdatedApr 08, 2026
- 1 minute read
Detaches from a point.
[Obsolete("Detach is deprecated. Use UnSubscribe instead.<-- [DECEMBER 2021]")]
public void Detach(
uint blockID,
string topic,
DALPSConnection.DALAttachDelegate attachDelegateMethod,
object clientObject
)
[Obsolete("Detach is deprecated. Use UnSubscribe instead.<-- [DECEMBER 2021]")]
public:
void Detach(
uint blockID,
String^ topic,
DALPSConnection.DALAttachDelegate^ attachDelegateMethod,
Object^ clientObject
)
Parameters
- blockID
- The Block ID.
- topic
- The PubSub topic.
- attachDelegateMethod
- The delegate or callback method that was passed to Attach when the topic was attached. The attachDelegateMethod will not be executed as it is only used to ensure that the correct attached record is removed.
- clientObject
- Reference to the client object.
| Exception | Description |
|---|---|
| System.ArgumentException | Block ID is zero. |