public static async Task <bool> TryDeleteEventAsync() { // Create an event first, then delete it. string createdEvent = await UserSnippets.CreateEventAsync(); return(await UserSnippets.DeleteEventAsync(createdEvent)); }