Load operation of XMLDocument Class

G

Guest

Hi all,

I am using an Xml file to store my data. This XML file will be used by
multiple threads for Storing and Retrieving data.

I am using XMLDocument to store and retrieve data from the file.

During Load() operation of the XMLDocument, Is it necessary to check if the
file is being used by some other process or not?

Regards
Hari
 
G

Guest

In generaly not, if file wasn't open for writing - u get you data.
But you need to open context wide, what's the reason to do it -
syncronization or
just first load? just for load u needn't to do check
I am using an Xml file to store my data. This XML file will be used by
multiple threads for Storing and Retrieving data.

I am using XMLDocument to store and retrieve data from the file.

During Load() operation of the XMLDocument, Is it necessary to check if the
file is being used by some other process or not?

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top