Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.GetMessageAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 8.0.9673)

GetMessageAsync(EwsItemId, String, Object)

Downloads and saves a message to specified path in MIME format.

Declaration
public Task GetMessageAsync(EwsItemId itemId, string filePath, object state = null)
Parameters
Type Name Description
EwsItemId itemId

ID of a message to save.

String filePath

Path to a file where to save the message.

Object state

An object containing state information for this request.

Returns
Type Description
Task

GetMessageAsync(EwsItemId, Stream, Object)

Downloads and saves a message to specified stream in MIME format.

Declaration
public Task GetMessageAsync(EwsItemId itemId, Stream output, object state = null)
Parameters
Type Name Description
EwsItemId itemId

ID of a message to save.

Stream output

Stream to which to save the item.

Object state

An object containing state information for this request.

Returns
Type Description
Task
In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies