Interface IGraphClientAsync

IGraphClientAsync interface

Represents the interface with asynchronous operations for GraphClient.

public interface IGraphClientAsync : IGraphClient

Methods

NameDescription
CopyFolderAsync(string, string, CancellationToken)Asynchronously copies a mailfolder and its contents to another mailfolder.
CopyMessageAsync(string, string, CancellationToken)Asynchronously copies a message to a new parent folder.
CopyNotebookAsync(string, string, string, CancellationToken)Asynchronously copies a notebook.
CreateAttachmentAsync(string, MapiAttachment, CancellationToken)Asynchronously creates an attachment in the specified parent item.
CreateCalendarItemAsync(string, MapiCalendar, CancellationToken)Asynchronously creates MapiCalendar in specified calendar.
CreateCategoryAsync(string, CategoryPreset, CancellationToken)Asynchronously creates a new Outlook category.
CreateContactAsync(string, MapiContact, CancellationToken)Asynchronously creates a contact in the specified folder.
CreateFolderAsync(string, CancellationToken)Asynchronously creates a new folder.
CreateFolderAsync(string, string, CancellationToken)Asynchronously creates a new folder under a parent folder.
CreateMessageAsync(string, MailMessage, CancellationToken)Asynchronously creates a mail message in the specified folder.
CreateMessageAsync(string, MapiMessage, CancellationToken)Asynchronously creates a message in the specified folder.
CreateNotebookAsync(Notebook, CancellationToken)Asynchronously creates a notebook.
CreateOrUpdateOverrideAsync(ClassificationOverride, CancellationToken)Asynchronously creates or updates a classification override.
CreateOrUpdateOverrideAsync(MailAddress, ClassificationType, CancellationToken)Asynchronously creates or updates a classification override for a sender.
CreateRuleAsync(InboxRule, CancellationToken)Asynchronously creates an inbox rule.
CreateTaskAsync(MapiTask, string, CancellationToken)Asynchronously creates a task in the specified task list.
CreateTaskListAsync(TaskListInfo, CancellationToken)Asynchronously creates a task list.
DeleteAsync(string, CancellationToken)Asynchronously deletes an object by its ID.
DeleteAttachmentAsync(string, CancellationToken)Asynchronously deletes an attachment by its ID.
DeleteTaskListAsync(string, CancellationToken)Asynchronously deletes a task list by its ID.
FetchAttachmentAsync(string, CancellationToken)Asynchronously fetches an attachment by its ID.
FetchCalendarItemAsync(string, CancellationToken)Asynchronously gets MapiCalendar for specified id.
FetchCategoryAsync(string, CancellationToken)Asynchronously fetches an Outlook category by its ID.
FetchContactAsync(string, CancellationToken)Asynchronously gets MapiContact for specified id.
FetchMessageAsync(string, CancellationToken)Asynchronously fetches a message by its ID.
FetchNotebookAsync(string, CancellationToken)Asynchronously fetches a notebook by its ID.
FetchRuleAsync(string, CancellationToken)Asynchronously fetches an inbox rule by its ID.
FetchTaskAsync(string, CancellationToken)Asynchronously fetches a task by its ID.
GetContactFolderAsync(CancellationToken)Gets main contact folder. This method requires that at least one contact exists in the main contacts folder, otherwise it will return null. https://learn.microsoft.com/en-us/answers/questions/854621/how-to-get-folder-id-of-default-contacts-folder-wh
GetFolderAsync(string, CancellationToken)Asynchronously gets a folder by its ID.
GetOneNoteOperationStatusAsync(string, CancellationToken)Asynchronously gets the status of a OneNote operation.
GetTaskListAsync(string, CancellationToken)Asynchronously fetches a task list by its ID.
ListAttachmentsAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists attachments for the specified item.
ListCalendarItemsAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists MapiCalendar items from the calendar.
ListCalendarsAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists CalendarInfo items.
ListCategoriesAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists Outlook categories.
ListContactFoldersAsync(ODataQueryBuilder, CancellationToken)Asynchronously gets a collection of child folders under the root contact folder.
ListContactsAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists MapiContact from the parent folder.
ListFoldersAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists folders from the root folder.
ListFoldersAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists folders from the parent folder.
ListMessagesAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists MessageInfo from the parent folder.
ListMessagesAsync(string, PageInfo, MailQuery, CancellationToken)Asynchronously lists MessageInfo from the parent folder with paging and query.
ListNotebooksAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists notebooks.
ListOverridesAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists classification overrides.
ListRecentNotebooksAsync(bool, ODataQueryBuilder, CancellationToken)Asynchronously lists recent notebooks.
ListRulesAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists inbox rules.
ListTaskListsAsync(ODataQueryBuilder, CancellationToken)Asynchronously lists task lists.
ListTasksAsync(string, ODataQueryBuilder, CancellationToken)Asynchronously lists tasks in the specified task list.
MoveFolderAsync(string, string, CancellationToken)Asynchronously moves a mailfolder and its contents to another mailfolder.
MoveMessageAsync(string, string, CancellationToken)Asynchronously moves a message to a new parent folder.
SendAsMimeAsync(MapiMessage, CancellationToken)Asynchronously sends a MapiMessage as MIME.
SendAsync(MailMessage, CancellationToken)Asynchronously sends a MailMessage.
SendAsync(MapiMessage, CancellationToken)Asynchronously sends a MapiMessage.
SendAsync(string, CancellationToken)Asynchronously sends a draft message by its ID.
SendAsync(MapiMessage, bool, CancellationToken)Asynchronously sends a MapiMessage with an option to save to Sent Items.
SetReadAsync(string, CancellationToken)Asynchronously sets a message as read by its ID.
UpdateCalendarItemAsync(MapiCalendar, CancellationToken)Asynchronously creates MapiCalendar in specified calendar.
UpdateCalendarItemAsync(MapiCalendar, UpdateSettings, CancellationToken)Asynchronously updates MapiCalendar.
UpdateCategoryAsync(OutlookCategory, CancellationToken)Asynchronously updates an Outlook category.
UpdateContactAsync(MapiContact, CancellationToken)Asynchronously updates a contact.
UpdateFolderAsync(FolderInfo, CancellationToken)Asynchronously updates a folder.
UpdateMessageAsync(MailMessage, CancellationToken)Asynchronously updates a mail message.
UpdateMessageAsync(MapiMessage, CancellationToken)Asynchronously updates a message.
UpdateMessageAsync(MailMessage, UpdateSettings, CancellationToken)Asynchronously updates a mail message with optional update settings.
UpdateMessageAsync(MapiMessage, UpdateSettings, CancellationToken)Asynchronously updates a message with optional update settings.
UpdateOverrideAsync(ClassificationOverride, CancellationToken)Asynchronously updates a classification override.
UpdateRuleAsync(InboxRule, CancellationToken)Asynchronously updates an inbox rule.
UpdateTaskAsync(MapiTask, CancellationToken)Asynchronously updates a task.
UpdateTaskAsync(MapiTask, UpdateSettings, CancellationToken)Asynchronously updates a task with optional update settings.
UpdateTaskListAsync(TaskListInfo, CancellationToken)Asynchronously updates a task list.

See Also