Thread names

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
zossph
Jr. Member
Jr. Member
Posts: 1
Joined: 16 May 2018, 07:26

Thread names

Post by zossph »

Hi all,

I'm using the .NET Client SDK.
For logging purposes, to indicate to the person analyzing the log that the message is from a OPC UA thread, I'm trying to name the threads that the SDK uses for the subscription.DataChanged callbacks.
It seems that the SDK names them rather generally like " Thread #11" (also note the space at the beginning??).
Now, because the SDK already named the thread, I cannot name it anymore when control reaches my code.

Does anyone know a way to change the thread names?

Post Reply