XPathExpression class in multithreading environment

If you are using the XPathExpression class in a multithread environment, be careful!!! this class isn’t thread safe. To use it in multithread environment make sure clone the instance that you are using (with the Clone method) because for example it’s a static shared instance.
I hope this post help somebody for not becoming crazy looking for a bug like me!!! 😉


Rodolfo Finochietti View All →

Uma's and Gino's father, and a programmer ;)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: