Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Messaging.ErrorInfo
A topic management error.
Summary
Constructors and Destructors
|
ErrorInfo(int index, string reason)
Initializes a new instance of the ErrorInfo class.
|
Properties
|
Index
|
int
Gets the registration token to which this error is related to.
|
Reason
|
string
Gets the nature of the error.
|
Properties
Index
int Index
Gets the registration token to which this error is related to.
Details |
Returns
|
An index into the original registration token list.
|
Reason
string Reason
Gets the nature of the error.
Details |
Returns
|
A non-null, non-empty error message.
|
Public functions
ErrorInfo
ErrorInfo(
int index,
string reason
)
Initializes a new instance of the ErrorInfo class.
Details |
Parameters |
index
|
Index of the error in the error codes.
|
reason
|
Reason for the error.
|
|
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.ErrorInfo Class Reference\n\nFirebaseAdmin.Messaging.ErrorInfo\n=================================\n\nA topic management error.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ErrorInfo](#class_firebase_admin_1_1_messaging_1_1_error_info_1a3915df534288b241aae592763bcb5e1f)`(int index, string reason)` Initializes a new instance of the [ErrorInfo](/docs/reference/admin/dotnet/class/firebase-admin/messaging/error-info#class_firebase_admin_1_1_messaging_1_1_error_info) class. ||\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [Index](#class_firebase_admin_1_1_messaging_1_1_error_info_1a217e58ae61499b61f0869fbb11d5ac01) | `int` Gets the registration token to which this error is related to. |\n| [Reason](#class_firebase_admin_1_1_messaging_1_1_error_info_1a788f0c339c4634b812f63c437661850c) | `string` Gets the nature of the error. |\n\nProperties\n----------\n\n### Index\n\n```text\nint Index\n``` \nGets the registration token to which this error is related to.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-----------------------------------------------------|\n| **Returns** | An index into the original registration token list. |\n\n### Reason\n\n```text\nstring Reason\n``` \nGets the nature of the error.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------|\n| **Returns** | A non-null, non-empty error message. |\n\nPublic functions\n----------------\n\n### ErrorInfo\n\n```text\n ErrorInfo(\n int index,\n string reason\n)\n``` \nInitializes a new instance of the [ErrorInfo](/docs/reference/admin/dotnet/class/firebase-admin/messaging/error-info#class_firebase_admin_1_1_messaging_1_1_error_info) class.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |----------|----------------------------------------| | `index` | Index of the error in the error codes. | | `reason` | Reason for the error. | |"]]