 | IDocumentCloseAsync Method |
Closes the document
Namespace: TSD.API.Remoting.DocumentAssembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
SyntaxTask CloseAsync(
bool force,
CancellationToken cancellationToken = default
)
Function CloseAsync (
force As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task
Task^ CloseAsync(
bool force,
CancellationToken cancellationToken = CancellationToken()
)
abstract CloseAsync :
force : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task Parameters
- force Boolean
- Force closing of dirty document without user interaction
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskA task that represents the work
See Also