StatusData(type=success, message, details)¶
StatusData also defines the possible StatusDataTypes used by the TbSync Event Log.
- type (StatusDataType) – Status type (see const definitions below)
- message (string) –
OptionalA message, which will be used as sync status. If this is not a success, it will be used also in the TbSync Event Log as well.
- details (string) –
OptionalIf this is not a success, it will be used as description in the TbSync Event Log.
Sync of the entire account will be aborted and restarted completely.
Sync of the entire account will be aborted.
Sync of the current folder/resource will be restarted.
Successfull sync, but message and details provided will be added to the event log.
Sync of this resource will be aborted and continued with next resource.
let status = TbSync.StatusData.INFO; return new TbSync.StatusData(status, "Have a nice day!", "Everything is fine.");