Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Messaging.SendResponse
The result of an individual send operation that was executed as part of a batch.
Summary
See BatchResponse for more details.
Properties
|
Exception
|
Gets an exception if the send operation failed.
|
MessageId
|
string
Gets a message ID string if the send operation was successful.
|
Public attributes
|
IsSuccess => !string.IsNullOrEmpty(this.MessageId)
|
bool
Gets a value indicating whether the send operation was successful or not.
|
Properties
MessageId
string MessageId
Gets a message ID string if the send operation was successful.
Otherwise returns null.
Public attributes
IsSuccess
bool IsSuccess => !string.IsNullOrEmpty(this.MessageId)
Gets a value indicating whether the send operation was successful or not.
When this property is true
, MessageId is guaranteed to return a non-null value. When this property is false
, Exception is guaranteed to return a non-null value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-24 UTC.
[null,null,["Last updated 2022-03-24 UTC."],[],[],null,["FirebaseAdmin.Messaging.SendResponse\n\nThe result of an individual send operation that was executed as part of a batch.\n\nSummary\n\nSee [BatchResponse](/docs/reference/admin/dotnet/class/firebase-admin/messaging/batch-response#class_firebase_admin_1_1_messaging_1_1_batch_response) for more details.\n\nProperties \n\nException \n\n```text\nFirebaseMessagingException Exception\n``` \nGets an exception if the send operation failed.\n\nOtherwise returns null. \n\nMessageId \n\n```text\nstring MessageId\n``` \nGets a message ID string if the send operation was successful.\n\nOtherwise returns null.\n\nPublic attributes \n\nIsSuccess \n\n```text\nbool IsSuccess =\u003e !string.IsNullOrEmpty(this.MessageId)\n``` \nGets a value indicating whether the send operation was successful or not.\n\nWhen this property is `true`, [MessageId](/docs/reference/admin/dotnet/class/firebase-admin/messaging/send-response#class_firebase_admin_1_1_messaging_1_1_send_response_1a27ad0698981d9603318a178c8a98e0fa) is guaranteed to return a non-null value. When this property is `false`, [Exception](/docs/reference/admin/dotnet/class/firebase-admin/messaging/send-response#class_firebase_admin_1_1_messaging_1_1_send_response_1a210c31efe20b5cb38b83c2f1484b540d) is guaranteed to return a non-null value."]]