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

GraphClient.GetMessageAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)

GetMessageAsync(GraphMessageId, String)

Begins asynchronous GetMessage operation. Downloads a message with the specified ID and writes its MIME data into a local file.

Declaration
public Task GetMessageAsync(GraphMessageId id, string filePath)
Parameters
Type Name Description
GraphMessageId id

ID of a message to retrieve.

String filePath

Path to a file to which to save the MIME message.

Returns
Type Description
Task

GetMessageAsync(GraphMessageId, Stream)

Begins asynchronous GetMessage operation. Downloads a message with the specified ID and writes its MIME data into the supplied stream.

Declaration
public Task GetMessageAsync(GraphMessageId id, Stream output)
Parameters
Type Name Description
GraphMessageId id

ID of a message to retrieve.

Stream output

Stream to which to save the MIME message.

Returns
Type Description
Task
In This Article
  • GetMessageAsync(GraphMessageId, String)
  • GetMessageAsync(GraphMessageId, Stream)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies