TasksFolderBind(ExchangeService, WellKnownFolderName, PropertySet, CancellationToken) - метод
Binds to an existing tasks folder 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<TasksFolder> Bind(
ExchangeService service,
WellKnownFolderName name,
PropertySet propertySet,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
name As WellKnownFolderName,
propertySet As PropertySet,
Optional token As CancellationToken = Nothing
) As Task(Of TasksFolder)
public:
static Task<TasksFolder^>^ Bind(
ExchangeService^ service,
WellKnownFolderName name,
PropertySet^ propertySet,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
name : WellKnownFolderName *
propertySet : PropertySet *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<TasksFolder>
- service ExchangeService
- The service to use to bind to the tasks folder.
- name WellKnownFolderName
- The name of the tasks folder to bind to.
- propertySet PropertySet
- The set of properties to load.
- token CancellationToken (Optional)
-
TaskTasksFolderA TasksFolder instance representing the tasks folder with the specified name.