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

Exception

FirebaseMessagingException Exception

Gets an exception if the send operation failed.

Otherwise returns null.

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.