ContactsFolderBind(ExchangeService, FolderId, CancellationToken) - метод |
Binds to an existing contacts folder and loads its first class properties.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public static Task<ContactsFolder> Bind(
ExchangeService service,
FolderId id,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
id As FolderId,
Optional token As CancellationToken = Nothing
) As Task(Of ContactsFolder)
public:
static Task<ContactsFolder^>^ Bind(
ExchangeService^ service,
FolderId^ id,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
id : FolderId *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ContactsFolder>
Параметры
- service
- Тип: Tessa.Exchange.WebServices.DataExchangeService
The service to use to bind to the contacts folder. - id
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the contacts folder to bind to. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskContactsFolderA ContactsFolder instance representing the contacts folder corresponding to the specified Id.
См. также