FolderBind(ExchangeService, FolderId, PropertySet, CancellationToken) - метод |
Binds to an existing folder, whatever its actual type is, 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<Folder> Bind(
ExchangeService service,
FolderId id,
PropertySet propertySet,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
id As FolderId,
propertySet As PropertySet,
Optional token As CancellationToken = Nothing
) As Task(Of Folder)
public:
static Task<Folder^>^ Bind(
ExchangeService^ service,
FolderId^ id,
PropertySet^ propertySet,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
id : FolderId *
propertySet : PropertySet *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<Folder>
Параметры
- service
- Тип: Tessa.Exchange.WebServices.DataExchangeService
The service to use to bind to the folder. - id
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder to bind to. - propertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The set of properties to load. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskFolderA Folder instance representing the folder corresponding to the specified Id.
См. также