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.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public static Task<EmailMessage> Bind(
ExchangeService service,
ItemId id,
PropertySet propertySet,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
id As ItemId,
propertySet As PropertySet,
Optional token As CancellationToken = Nothing
) As Task(Of EmailMessage)
public:
static Task<EmailMessage^>^ Bind(
ExchangeService^ service,
ItemId^ id,
PropertySet^ propertySet,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
id : ItemId *
propertySet : PropertySet *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<EmailMessage>
Параметры
- service
- Тип: Tessa.Exchange.WebServices.DataExchangeService
The service to use to bind to the e-mail message. - id
- Тип: Tessa.Exchange.WebServices.DataItemId
The Id of the e-mail message to bind to. - propertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The set of properties to load. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskEmailMessageAn EmailMessage instance representing the e-mail message corresponding to the specified Id.
См. также