ExchangeServiceInstallApp - метод
Install App.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public Task InstallApp(
Stream manifestStream,
CancellationToken token = default
)
Public Function InstallApp (
manifestStream As Stream,
Optional token As CancellationToken = Nothing
) As Task
public:
Task^ InstallApp(
Stream^ manifestStream,
CancellationToken token = CancellationToken()
)
member InstallApp :
manifestStream : Stream *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task
- manifestStream Stream
- The manifest's plain text XML stream.
Notice: Stream has state. If you want this function read from the expected position of the stream,
please make sure set read position by manifestStream.Position = expectedPosition.
Be aware read manifestStream.Lengh puts stream's Position at stream end.
If you retrieve manifestStream.Lengh before call this function, nothing will be read.
When this function succeeds, manifestStream is closed. This is by EWS design to
release resource in timely manner.
- token CancellationToken (Optional)
-
Task Exception will be thrown for errors.