ContactBind(ExchangeService, ItemId, PropertySet, CancellationToken) - метод
Binds to an existing contact 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.6.0.22
public static Task<Contact> 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 Contact)
public:
static Task<Contact^>^ 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<Contact>
- service ExchangeService
- The service to use to bind to the contact.
- id ItemId
- The Id of the contact to bind to.
- propertySet PropertySet
- The set of properties to load.
- token CancellationToken (Optional)
-
TaskContactA Contact instance representing the contact corresponding to the specified Id.