Task<(FmNotificationResponse , ValidationResult )> GetNotificationsAsync(
DateTime? lastPostTime = null,
CancellationToken cancellationToken = default
)
Function GetNotificationsAsync (
Optional lastPostTime As DateTime? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As FmNotificationResponse, As ValidationResult))
Task<ValueTuple<FmNotificationResponse^, ValidationResult^>>^ GetNotificationsAsync(
Nullable<DateTime> lastPostTime = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetNotificationsAsync :
?lastPostTime : Nullable<DateTime> *
?cancellationToken : CancellationToken
(* Defaults:
let _lastPostTime = defaultArg lastPostTime null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<FmNotificationResponse, ValidationResult>>
FmNotificationResponse, в котором заполнено свойство Notifications со значениями, отсортированными по времени отправки.
ValidationResult, содержащий информацию по возникшим ошибкам.