© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•5mo ago•
14 replies
Spirit Flying

Microsoft Graph – Handling DeleteAsync Response?

Hey everyone!
I'm using the Microsoft Graph SDK for .NET to delete a calendar event like this:
await _graphService
.Users[_teamsUserId]
.Calendars[obj.CalendarId]
.Events[obj.EventId]
.DeleteAsync();
From what I understand, DeleteAsync() doesn’t return anything — just a silent success (HTTP 204 No Content), or it throws an exception if something goes wrong.

My question is:
Is there any way to get more information back from this operation? Like confirmation details, metadata, or at least some indication that the event existed and was deleted?

Or is the only option to handle it through try/catch and assume success if no exception is thrown?

Open to any tips or alternatives — thanks!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Microsoft Graph API
C#CC# / help
4y ago
Microsoft Graph without Azure admin
C#CC# / help
2y ago
❔ Microsoft Graph SDK - Serializing objects
C#CC# / help
3y ago