IExchangeWriter.ValidateCanUpdateExchangeAsync method
This method can be overridden to allow the host application to intercept and potentially prevent the exchange update process. It provides an opportunity to perform checks or actions, such as prompting the user to save changes or verifying that the current document is in a suitable state for an exchange update. This is particularly useful if modifications have been made to the document or if other preconditions must be met before continuing with the update process.
public Task<IEnumerable<string>> ValidateCanUpdateExchangeAsync(
Dictionary<string, object> parameters)
parameter | description |
---|---|
parameters | A dictionary containing the parameters required for validation. |
Return Value
A task that represents the asynchronous operation. The result is a collection of validation errors that is never null
. If there are no issues and the exchange update can proceed, en empty collection should be returned.
See Also
- interface IExchangeWriter
- namespace Autodesk.DataExchange.Core.Interface