NotificationButtonViewModelUpdateNotificationsFromServerAsync - метод |
Пространство имён:
Tessa.UI.Controls.Forums
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public Task<bool> UpdateNotificationsFromServerAsync(
bool alwaysUpdateItems = true,
bool deleteReadMessages = true,
FmNotificationResponse notificationResponse = null,
CancellationToken cancellationToken = default
)
Public Function UpdateNotificationsFromServerAsync (
Optional alwaysUpdateItems As Boolean = true,
Optional deleteReadMessages As Boolean = true,
Optional notificationResponse As FmNotificationResponse = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
Task<bool>^ UpdateNotificationsFromServerAsync(
bool alwaysUpdateItems = true,
bool deleteReadMessages = true,
FmNotificationResponse^ notificationResponse = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member UpdateNotificationsFromServerAsync :
?alwaysUpdateItems : bool *
?deleteReadMessages : bool *
?notificationResponse : FmNotificationResponse *
?cancellationToken : CancellationToken
(* Defaults:
let _alwaysUpdateItems = defaultArg alwaysUpdateItems true
let _deleteReadMessages = defaultArg deleteReadMessages true
let _notificationResponse = defaultArg notificationResponse null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
Параметры
- alwaysUpdateItems (Optional)
- Тип: SystemBoolean
- deleteReadMessages (Optional)
- Тип: SystemBoolean
- notificationResponse (Optional)
- Тип: Tessa.Forums.ForumNotificationFmNotificationResponse
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskBooleanСм. также