EmailMessage(ExchangeService) EmailMessage(ExchangeService) EmailMessage(ExchangeService) Constructor

Definition

Initializes a local instance of the EmailMessage class with an Exchange service object.

public:
 EmailMessage(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service);
public EmailMessage (Microsoft.Exchange.WebServices.Data.ExchangeService service);
Public Sub New (service As ExchangeService)

Parameters

service
ExchangeService ExchangeService ExchangeService

The Exchange service object to which the e-mail message can be bound.

Remarks

Use the Bind(ExchangeService, ItemId) method to bind to an existing e-mail message on the Exchange server.

Applies to