@@ -83,7 +83,7 @@ public static FirebaseMessaging GetMessaging(FirebaseApp app)
83
83
/// <exception cref="ArgumentNullException">If the message argument is null.</exception>
84
84
/// <exception cref="ArgumentException">If the message contains any invalid
85
85
/// fields.</exception>
86
- /// <exception cref="FirebaseException ">If an error occurs while sending the
86
+ /// <exception cref="FirebaseMessagingException ">If an error occurs while sending the
87
87
/// message.</exception>
88
88
/// <param name="message">The message to be sent. Must not be null.</param>
89
89
public async Task < string > SendAsync ( Message message )
@@ -102,7 +102,7 @@ public async Task<string> SendAsync(Message message)
102
102
/// <exception cref="ArgumentNullException">If the message argument is null.</exception>
103
103
/// <exception cref="ArgumentException">If the message contains any invalid
104
104
/// fields.</exception>
105
- /// <exception cref="FirebaseException ">If an error occurs while sending the
105
+ /// <exception cref="FirebaseMessagingException ">If an error occurs while sending the
106
106
/// message.</exception>
107
107
/// <param name="message">The message to be sent. Must not be null.</param>
108
108
/// <param name="cancellationToken">A cancellation token to monitor the asynchronous
@@ -127,7 +127,7 @@ public async Task<string> SendAsync(Message message, CancellationToken cancellat
127
127
/// <exception cref="ArgumentNullException">If the message argument is null.</exception>
128
128
/// <exception cref="ArgumentException">If the message contains any invalid
129
129
/// fields.</exception>
130
- /// <exception cref="FirebaseException ">If an error occurs while sending the
130
+ /// <exception cref="FirebaseMessagingException ">If an error occurs while sending the
131
131
/// message.</exception>
132
132
/// <param name="message">The message to be sent. Must not be null.</param>
133
133
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
@@ -153,7 +153,7 @@ public async Task<string> SendAsync(Message message, bool dryRun)
153
153
/// <exception cref="ArgumentNullException">If the message argument is null.</exception>
154
154
/// <exception cref="ArgumentException">If the message contains any invalid
155
155
/// fields.</exception>
156
- /// <exception cref="FirebaseException ">If an error occurs while sending the
156
+ /// <exception cref="FirebaseMessagingException ">If an error occurs while sending the
157
157
/// message.</exception>
158
158
/// <param name="message">The message to be sent. Must not be null.</param>
159
159
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
@@ -173,6 +173,8 @@ public async Task<string> SendAsync(
173
173
/// send the entire list as a single RPC call. Compared to the <see cref="SendAsync(Message)"/>
174
174
/// method, this is a significantly more efficient way to send multiple messages.
175
175
/// </summary>
176
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
177
+ /// messages.</exception>
176
178
/// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
177
179
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
178
180
/// outcome.</returns>
@@ -186,6 +188,8 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages)
186
188
/// send the entire list as a single RPC call. Compared to the <see cref="SendAsync(Message)"/>
187
189
/// method, this is a significantly more efficient way to send multiple messages.
188
190
/// </summary>
191
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
192
+ /// messages.</exception>
189
193
/// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
190
194
/// <param name="cancellationToken">A cancellation token to monitor the asynchronous
191
195
/// operation.</param>
@@ -201,6 +205,8 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, Can
201
205
/// send the entire list as a single RPC call. Compared to the <see cref="SendAsync(Message)"/>
202
206
/// method, this is a significantly more efficient way to send multiple messages.
203
207
/// </summary>
208
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
209
+ /// messages.</exception>
204
210
/// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
205
211
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
206
212
/// only) of the send. If set to true, the message will be sent to the FCM backend service,
@@ -217,6 +223,8 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
217
223
/// send the entire list as a single RPC call. Compared to the <see cref="SendAsync(Message)"/>
218
224
/// method, this is a significantly more efficient way to send multiple messages.
219
225
/// </summary>
226
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
227
+ /// messages.</exception>
220
228
/// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
221
229
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
222
230
/// only) of the send. If set to true, the message will be sent to the FCM backend service,
@@ -233,6 +241,8 @@ public async Task<BatchResponse> SendAllAsync(IEnumerable<Message> messages, boo
233
241
/// <summary>
234
242
/// Sends the given multicast message to all the FCM registration tokens specified in it.
235
243
/// </summary>
244
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
245
+ /// messages.</exception>
236
246
/// <param name="message">The message to be sent. Must not be null.</param>
237
247
/// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
238
248
/// outcome.</returns>
@@ -244,6 +254,8 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message)
244
254
/// <summary>
245
255
/// Sends the given multicast message to all the FCM registration tokens specified in it.
246
256
/// </summary>
257
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
258
+ /// messages.</exception>
247
259
/// <param name="message">The message to be sent. Must not be null.</param>
248
260
/// <param name="cancellationToken">A cancellation token to monitor the asynchronous
249
261
/// operation.</param>
@@ -261,6 +273,8 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, Ca
261
273
/// validations, and emulates the send operation. This is a good way to check if a
262
274
/// certain message will be accepted by FCM for delivery.</para>
263
275
/// </summary>
276
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
277
+ /// messages.</exception>
264
278
/// <param name="message">The message to be sent. Must not be null.</param>
265
279
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
266
280
/// only) of the send. If set to true, the message will be sent to the FCM backend service,
@@ -279,6 +293,8 @@ public async Task<BatchResponse> SendMulticastAsync(MulticastMessage message, bo
279
293
/// validations, and emulates the send operation. This is a good way to check if a
280
294
/// certain message will be accepted by FCM for delivery.</para>
281
295
/// </summary>
296
+ /// <exception cref="FirebaseMessagingException">If an error occurs while sending the
297
+ /// messages.</exception>
282
298
/// <param name="message">The message to be sent. Must not be null.</param>
283
299
/// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
284
300
/// only) of the send. If set to true, the message will be sent to the FCM backend service,
0 commit comments