Tuesday, December 28, 2010

The file is being used by another process

This occured when i send a mail with attachement and replace that attachment file with same name at same time.simplly called Dispose method in finally block for attachement object.solved it.

No comments:

Post a Comment

How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...