Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドキュメントにはNotificationHubClient.GetRegistrationsByTagAsync(string tag, int top)、Azure プッシュ通知について以下のように記載されています。
NotificationHubClient.GetRegistrationsByTagAsync(string tag, int top)
top (Int32) : 登録を取得する場所。
しかし、トップやロケーションが何を表しているのかわかりません。私が見つけ た例100ですが、それを使用する理由はありません。
100
基本的には、最高のレコードを取得することを意味します。
したがって、タグ 'A' を持つ 1000 件の登録がある場合、NotificationHubClient.GetRegistrationsByTagAsync("A", 42) は 42 レコードを返します。
ただし、トップは 100 を超えることはできません。NotificationHubClient.GetRegistrationsByTagAsync("A", 142) は 100 レコードのみを返します。