EmailMessageBind(ExchangeService, ItemId, PropertySet, CancellationToken) - метод

Binds to an existing e-mail message and loads the specified set of properties. Calling this method results in a call to EWS.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
C#
public static Task<EmailMessage> Bind(
	ExchangeService service,
	ItemId id,
	PropertySet propertySet,
	CancellationToken token = default
)

Параметры

service  ExchangeService
The service to use to bind to the e-mail message.
id  ItemId
The Id of the e-mail message to bind to.
propertySet  PropertySet
The set of properties to load.
token  CancellationToken  (Optional)
 

Возвращаемое значение

TaskEmailMessage
An EmailMessage instance representing the e-mail message corresponding to the specified Id.

См. также