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!
3 Replies
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
Spirit Flying
Spirit FlyingOP5d ago
How can I get status from event: delta?
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?