UserConfigurationBind(ExchangeService, String, FolderId, UserConfigurationProperties, CancellationToken) - метод |
Binds to an existing user configuration and loads the specified 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<UserConfiguration> Bind(
ExchangeService service,
string name,
FolderId parentFolderId,
UserConfigurationProperties properties,
CancellationToken token = default
)
Public Shared Function Bind (
service As ExchangeService,
name As String,
parentFolderId As FolderId,
properties As UserConfigurationProperties,
Optional token As CancellationToken = Nothing
) As Task(Of UserConfiguration)
public:
static Task<UserConfiguration^>^ Bind(
ExchangeService^ service,
String^ name,
FolderId^ parentFolderId,
UserConfigurationProperties properties,
CancellationToken token = CancellationToken()
)
static member Bind :
service : ExchangeService *
name : string *
parentFolderId : FolderId *
properties : UserConfigurationProperties *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<UserConfiguration>
Параметры
- service
- Тип: Tessa.Exchange.WebServices.DataExchangeService
The service to which the user configuration is bound. - name
- Тип: SystemString
The name of the user configuration. - parentFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder containing the user configuration. - properties
- Тип: Tessa.Exchange.WebServices.DataUserConfigurationProperties
The properties to load. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskUserConfigurationA user configuration instance.
См. также