Ews Methods

The Ews type exposes the following members.

Methods
  NameDescription
Public methodAddAttachmentToItem
Adds an attachment to an existing item.
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 methodCreateFolder
Creates a folder in the MS Exchange account.
Public methodCreatePropSet
Creates EWS Managed API PropertySet object.
Public methodDeleteAttachment
Deletes the attachment with the specified filename from the specified item.
Public methodDeleteAttachments
Deletes all attachments in the specified item.
Public methodDeleteFolder
Deletes a folder with the specified ID.
Public methodDeleteItem
Deletes the specified item (e.g. mail message).
Public methodDeleteItems
Deletes the specified item (e.g. mail message).
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 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 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 methodDownloadFolderByShortName
Gets the reference to the given folder in the MS Exchange account.
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 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 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 methodDownloadItems(FolderId, Boolean)
Downloads all or unread items in the specified folder. If true, only unread items are downloaded; otherwise, all the items.
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 methodDownloadNativeAttachments
Downloads attachments with the specified string IDs.
Public methodEmptyFolder
Empties a folder with the specified ID.
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 methodFindFolderIdByShortName
Gets the ID of the given folder in the MS Exchange account.
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 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 methodMoveItem
Moves the specified item (e.g. mail message) into the specified folder.
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 methodRenameOrMoveFolder
Renames or moves a folder denoted by its full name rather than by ID.
Public methodResolveName
Resolves the specified name into e-mail addresses which exist on the given MS Exchange server.
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 methodSendMessage
Sends MailBee mail message.
Public methodSendMessageAndSaveCopy
Sends MailBee mail message and saves a copy in Sent Items or user-defined folder.
Public methodSetCredentials
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 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 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.
Top
See Also