public Task<(FmNotificationResponse , ValidationResult )> GetNotificationsAsync(
DateTime? lastPostTime = null,
CancellationToken cancellationToken = default
)
Public Function GetNotificationsAsync (
Optional lastPostTime As DateTime? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As FmNotificationResponse, As ValidationResult))
public:
virtual Task<ValueTuple<FmNotificationResponse^, ValidationResult^>>^ GetNotificationsAsync(
Nullable<DateTime> lastPostTime = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetNotificationsAsync :
?lastPostTime : Nullable<DateTime> *
?cancellationToken : CancellationToken
(* Defaults:
let _lastPostTime = defaultArg lastPostTime null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<FmNotificationResponse, ValidationResult>>
override 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, содержащий информацию по возникшим ошибкам.