SearchFolderBind(ExchangeService, WellKnownFolderName, CancellationToken) - метод
Binds to an existing search 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.6.0.22
public static Task<SearchFolder> 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 SearchFolder)
public:
static Task<SearchFolder^>^ 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<SearchFolder>
- service ExchangeService
- The service to use to bind to the search folder.
- name WellKnownFolderName
- The name of the search folder to bind to.
- token CancellationToken (Optional)
-
TaskSearchFolderA SearchFolder instance representing the search folder with the specified name.