Ews Methods

The Ews type exposes the following members.

Methods
  NameDescription
Public methodAddAttachmentToItem
Adds an attachment to an existing item.
Public methodAddAttachmentToItemAsync
Public methodAutodiscover
Automatically determines the URL of the EWS server.
Public methodCopyItem
Copies the specified item (e.g. mail message) into the specified folder.
Public methodCopyItemAsync
Async/await version of CopyItem(ItemId, FolderId).
Public methodCreateFolder
Creates a folder in the MS Exchange account.
Public methodCreateFolderAsync
Async/await version of CreateFolder(String, FolderId).
Public methodCreatePropSet
Creates EWS Managed API PropertySet object.
Public methodDeleteAttachment
Deletes the attachment with the specified filename from the specified item.
Public methodDeleteAttachmentAsync
Public methodDeleteAttachments
Deletes all attachments in the specified item.
Public methodDeleteAttachmentsAsync
Async/await version of DeleteAttachments(ItemId).
Public methodDeleteFolder
Deletes a folder with the specified ID.
Public methodDeleteFolderAsync
Async/await version of DeleteFolder(FolderId).
Public methodDeleteItem
Deletes the specified item (e.g. mail message).
Public methodDeleteItemAsync
Async/await version of DeleteItem(ItemId).
Public methodDeleteItems
Deletes the specified item (e.g. mail message).
Public methodDeleteItemsAsync
Public methodDispose
Closes all opened network connections (if any) and releases any used system resources.
Protected methodDispose(Boolean)
When overridden in a derived class, must release unmanaged and optionally managed resources used by the component.
Public methodDownloadEntireMessage
Downloads the specified item by its ID and returns it as MailMessage object.
Public methodDownloadEntireMessageAsync
Async/await version of DownloadEntireMessage(ItemId).
Public methodDownloadFolderByFullName(String)
Gets the reference to the folder denoted by its full name in the MS Exchange account.
Public methodDownloadFolderByFullName(FolderId, String)
Gets the reference to the given folder in the specified containing folder in the MS Exchange account.
Public methodDownloadFolderByFullName(String, Int32)
Gets the reference to the folder denoted by its full name in the MS Exchange account.
Public methodDownloadFolderByFullNameAsync(String)
Async/await version of DownloadFolderByFullName(String).
Public methodDownloadFolderByFullNameAsync(FolderId, String)
Public methodDownloadFolderByFullNameAsync(String, Int32)
Async/await version of DownloadFolderByFullName(String, Int32).
Public methodDownloadFolderById(FolderId)
Gets the reference to the folder with given ID in the MS Exchange account.
Public methodDownloadFolderById(FolderId, PropertySet)
Gets the reference to the folder with given ID in the MS Exchange account, also requesting the specified properties.
Public methodDownloadFolderByIdAsync(FolderId)
Async/await version of DownloadFolderById(FolderId).
Public methodDownloadFolderByIdAsync(FolderId, PropertySet)
Public methodDownloadFolderByShortName
Gets the reference to the given folder in the MS Exchange account.
Public methodDownloadFolderByShortNameAsync
Public methodDownloadFolders(Boolean)
Downloads the list of folders of the MS Exchange account.
Public methodDownloadFolders(FolderId, Boolean, Boolean)
Downloads the list of folders of the MS Exchange account.
Public methodDownloadFolders(FolderId, FolderView, SearchFilter, Boolean)
Downloads the list of folders of the MS Exchange account.
Public methodDownloadFoldersAsync(Boolean)
Async/await version of DownloadFolders(Boolean).
Public methodDownloadFoldersAsync(FolderId, Boolean, Boolean)
Public methodDownloadFoldersAsync(FolderId, FolderView, SearchFilter, Boolean)
Public methodDownloadItem(FolderId, Int32)
Downloads an item in the specified folder at the specified index.
Public methodDownloadItem(ItemId, EwsItemParts)
Downloads the specified portions of the specified item by its ID.
Public methodDownloadItem(ItemId, PropertySet)
Downloads the specified item by its ID using PropertySet settings.
Public methodDownloadItem(FolderId, Int32, EwsItemParts)
Downloads the specified portions of an Exchange item in the specified folder at the specified index.
Public methodDownloadItem(FolderId, Int32, PropertySet)
Downloads an item in the specified folder at the specified index using PropertySet settings.
Public methodDownloadItemAsync(FolderId, Int32)
Async/await version of DownloadItem(FolderId, Int32).
Public methodDownloadItemAsync(ItemId, EwsItemParts)
Async/await version of DownloadItem(ItemId, EwsItemParts).
Public methodDownloadItemAsync(ItemId, PropertySet)
Async/await version of DownloadItem(ItemId, PropertySet).
Public methodDownloadItemAsync(FolderId, Int32, EwsItemParts)
Public methodDownloadItemAsync(FolderId, Int32, PropertySet)
Public methodDownloadItemIds(FolderId, Boolean)
Downloads IDs of all or unread items in the specified folder.
Public methodDownloadItemIds(FolderId, ItemView, Boolean)
Downloads IDs of items in the specified folder in the specified ItemView range.
Public methodDownloadItemIdsAsync(FolderId, Boolean)
Async/await version of DownloadItemIds(FolderId, Boolean).
Public methodDownloadItemIdsAsync(FolderId, ItemView, Boolean)
Public methodDownloadItems(FolderId, Boolean)
Downloads all or unread items in the specified folder.
Public methodDownloadItems(IEnumerableEwsItem, EwsItemParts)
Downloads the specified portions of the specified items.
Public methodDownloadItems(IEnumerableEwsItem, PropertySet)
Downloads the specified items using PropertySet settings.
Public methodDownloadItems(FolderId, ItemView, Boolean)
Downloads items in the specified folder in the specified ItemView range.
Public methodDownloadItems(FolderId, ItemView, Boolean, EwsItemParts)
Downloads the specified portions of the items in the specified ItemView range in the specified folder.
Public methodDownloadItems(FolderId, ItemView, Boolean, PropertySet)
Downloads items in the specified folder in the specified ItemView range using PropertySet settings.
Public methodDownloadItems(FolderId, Int32, Int32, Boolean)
Downloads items in the specified folder in the specified range.
Public methodDownloadItems(FolderId, Int32, Int32, Boolean, EwsItemParts)
Downloads the specified portions of Exchange items in the specified folder in the specified range.
Public methodDownloadItems(FolderId, Int32, Int32, Boolean, PropertySet)
Downloads items in the specified folder in the specified range using PropertySet settings.
Public methodDownloadItemsAsync(FolderId, Boolean)
Async/await version of DownloadItems(FolderId, Boolean).
Public methodDownloadItemsAsync(IEnumerableEwsItem, EwsItemParts)
Public methodDownloadItemsAsync(IEnumerableEwsItem, PropertySet)
Public methodDownloadItemsAsync(FolderId, ItemView, Boolean)
Public methodDownloadItemsAsync(FolderId, ItemView, Boolean, EwsItemParts)
Public methodDownloadItemsAsync(FolderId, ItemView, Boolean, PropertySet)
Public methodDownloadItemsAsync(FolderId, Int32, Int32, Boolean)
Public methodDownloadItemsAsync(FolderId, Int32, Int32, Boolean, EwsItemParts)
Public methodDownloadItemsAsync(FolderId, Int32, Int32, Boolean, PropertySet)
Public methodDownloadNativeAttachments
Downloads attachments with the specified string IDs.
Public methodDownloadNativeAttachmentsAsync
Public methodEmptyFolder
Empties a folder with the specified ID.
Public methodEmptyFolderAsync
Async/await version of EmptyFolder(FolderId, Boolean).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberEwsItemsToItemIds
Creates the list of ItemId objects from the collection of EwsItem objects.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindFolderIdByFullName(String)
Gets the ID of the folder denoted by its full name in the MS Exchange account.
Public methodFindFolderIdByFullName(FolderId, String)
Gets the ID of the given folder in the specified containing folder in the MS Exchange account.
Public methodFindFolderIdByFullName(String, Int32)
Gets the ID of the given folder in the MS Exchange account.
Public methodFindFolderIdByFullNameAsync(String)
Async/await version of FindFolderIdByFullName(String).
Public methodFindFolderIdByFullNameAsync(FolderId, String)
Public methodFindFolderIdByFullNameAsync(String, Int32)
Async/await version of FindFolderIdByFullName(String, Int32).
Public methodFindFolderIdByShortName
Gets the ID of the given folder in the MS Exchange account.
Public methodFindFolderIdByShortNameAsync
Public methodFolderExists(String)
Checks if the folder with the specified full name exists in the MS Exchange account.
Public methodFolderExists(FolderId, String)
Checks if the given folder in the specified containing folder exists in the MS Exchange account.
Public methodFolderExistsAsync(String)
Async/await version of FolderExists(String).
Public methodFolderExistsAsync(FolderId, String)
Async/await version of FolderExists(FolderId, String).
Public methodGetErrorDescription
Returns a textual description of the last occurred error.
Public methodGetExchangeVersionString
Gets the MS Exchange version as a string.
Public methodGetFolderByName
Finds the EwsFolder in the given list by the folder's full name.
Public methodGetFolderView
Gets FolderView instance tuned for listing all the folders in the account.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitEwsClient
Sets the default MS Exchange version.
Public methodInitEwsClient(ExchangeVersion)
Sets the specific MS Exchange version.
Public methodInitEwsClient(ExchangeVersion, TimeZoneInfo)
Sets the specific MS Exchange version.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveFolder
Moves a folder into another folder.
Public methodMoveFolderAsync
Async/await version of MoveFolder(FolderId, FolderId).
Public methodMoveItem
Moves the specified item (e.g. mail message) into the specified folder.
Public methodMoveItemAsync
Async/await version of MoveItem(ItemId, FolderId).
Protected methodOnErrorOccurred
Used by MailBee to raise ErrorOccurred event.
Protected methodOnLogNewEntry
Used by MailBee to raise LogNewEntry event.
Public methodRenameFolder
Renames a folder in the MS Exchange account.
Public methodRenameFolderAsync
Async/await version of RenameFolder(String, FolderId).
Public methodRenameOrMoveFolder
Renames or moves a folder denoted by its full name rather than by ID.
Public methodRenameOrMoveFolderAsync
Public methodResolveName
Resolves the specified name into e-mail addresses which exist on the given MS Exchange server.
Public methodResolveNameAsync
Async/await version of ResolveName(String).
Public methodSearch(FolderId, SearchFilter)
Searches the specified folder for items matching the given criteria.
Public methodSearch(FolderId, SearchFilter, ItemView)
Searches the specified folder for items matching the given criteria and delivers the results accordingly the specified ItemView.
Public methodSearchAsync(FolderId, SearchFilter)
Async/await version of Search(FolderId, SearchFilter).
Public methodSearchAsync(FolderId, SearchFilter, ItemView)
Public methodSendMessage
Sends MailBee mail message.
Public methodSendMessageAndSaveCopy
Sends MailBee mail message and saves a copy in Sent Items or user-defined folder.
Public methodSendMessageAndSaveCopyAsync
Public methodSendMessageAsync
Async/await version of SendMessage(MailMessage).
Public methodSetCredentials(ExchangeCredentials)
Sets the credentials (e.g. OAuth2) of the MS Exchange account for subsequent operations.
Public methodSetCredentials(String, String)
Sets the login and password of the MS Exchange account for subsequent operations.
Public methodSetServerUrl
Gets or sets the URL of EWS service on MS Exchange server.
Public methodTestConnection
Makes a test connection to validate the current settings.
Public methodTestConnectionAsync
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateItem
Writes the changes made to the item to the MS Exchange server.
Public methodUpdateItemAsync
Async/await version of UpdateItem(EwsItem).
Public methodUploadMessage(FolderId, MailMessage, Boolean)
Uploads MailBee's MailMessage into the specified folder on the MS Exchange server.
Public methodUploadMessage(FolderId, Byte, Boolean)
Uploads raw message data into the specified folder on the MS Exchange server.
Public methodUploadMessageAsync(FolderId, MailMessage, Boolean)
Public methodUploadMessageAsync(FolderId, Byte, Boolean)
Top
See Also