| |

VerySource

 Forgot password?
 Register
Search
View: 377|Reply: 1

How to handle errors written to the same XML file at the same time

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-3 23:00:01
| Show all posts |Read mode
Using XML to store data and write errors at the same time should be inevitable. Is there any way to better deal with such problems.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-4 16:27:01
| Show all posts
lock (this.XmlDoc)
{
   // your write code
}
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list