CalendarFolderBind(ExchangeService, WellKnownFolderName, CancellationToken) - метод |
Binds to an existing calendar folder and loads its first class 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<CalendarFolder> Bind(
ExchangeService service,
WellKnownFolderName name,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
name As WellKnownFolderName,
Optional token As CancellationToken = Nothing
) As Task(Of CalendarFolder)
public:
static Task<CalendarFolder^>^ Bind(
ExchangeService^ service,
WellKnownFolderName name,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
name : WellKnownFolderName *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<CalendarFolder>
Параметры
- service
- Тип: Tessa.Exchange.WebServices.DataExchangeService
The service to use to bind to the calendar folder. - name
- Тип: Tessa.Exchange.WebServices.DataWellKnownFolderName
The name of the calendar folder to bind to. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskCalendarFolderA CalendarFolder instance representing the calendar folder with the specified name.
См. также