IotHubClientException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
IotHubClientException() |
Crée une instance de cette classe. |
IotHubClientException(SerializationInfo, StreamingContext) |
Crée une instance de cette classe. |
IotHubClientException(String, Exception) |
Crée une instance de cette classe. |
IotHubClientException(String, IotHubClientErrorCode, Exception) |
Crée une instance de cette classe. |
IotHubClientException(String, Boolean, Exception) |
Crée une instance de cette classe. |
IotHubClientException(String, Boolean, String, Exception) |
Crée une instance de cette classe. |
IotHubClientException(String, String, IotHubClientErrorCode, Exception) |
Crée une instance de cette classe. |
IotHubClientException()
Crée une instance de cette classe.
protected internal IotHubClientException ();
Protected Friend Sub New ()
S’applique à
IotHubClientException(SerializationInfo, StreamingContext)
Crée une instance de cette classe.
protected internal IotHubClientException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Client.IotHubClientException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (info As SerializationInfo, context As StreamingContext)
Paramètres
- info
- SerializationInfo
SerializationInfo qui contient les données d'objet sérialisées concernant l'exception levée.
- context
- StreamingContext
StreamingContext qui contient des informations contextuelles relatives à la source ou à la destination.
S’applique à
IotHubClientException(String, Exception)
Crée une instance de cette classe.
protected internal IotHubClientException (string message, Exception innerException = default);
new Microsoft.Azure.Devices.Client.IotHubClientException : string * Exception -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (message As String, Optional innerException As Exception = Nothing)
Paramètres
- message
- String
Message décrivant l'erreur.
- innerException
- Exception
Exception ayant provoqué l'exception actuelle.
S’applique à
IotHubClientException(String, IotHubClientErrorCode, Exception)
Crée une instance de cette classe.
protected internal IotHubClientException (string message, Microsoft.Azure.Devices.Client.IotHubClientErrorCode errorCode, Exception innerException = default);
new Microsoft.Azure.Devices.Client.IotHubClientException : string * Microsoft.Azure.Devices.Client.IotHubClientErrorCode * Exception -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (message As String, errorCode As IotHubClientErrorCode, Optional innerException As Exception = Nothing)
Paramètres
- message
- String
Message décrivant l'erreur.
- errorCode
- IotHubClientErrorCode
Code d’erreur spécifique.
- innerException
- Exception
Exception ayant provoqué l'exception actuelle.
S’applique à
IotHubClientException(String, Boolean, Exception)
Crée une instance de cette classe.
protected internal IotHubClientException (string message, bool isTransient, Exception innerException = default);
new Microsoft.Azure.Devices.Client.IotHubClientException : string * bool * Exception -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (message As String, isTransient As Boolean, Optional innerException As Exception = Nothing)
Paramètres
- message
- String
Message décrivant l'erreur.
- isTransient
- Boolean
Indique si l’erreur est temporaire et doit être retentée.
- innerException
- Exception
Exception ayant provoqué l'exception actuelle.
S’applique à
IotHubClientException(String, Boolean, String, Exception)
Crée une instance de cette classe.
protected internal IotHubClientException (string message, bool isTransient, string trackingId, Exception innerException = default);
new Microsoft.Azure.Devices.Client.IotHubClientException : string * bool * string * Exception -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (message As String, isTransient As Boolean, trackingId As String, Optional innerException As Exception = Nothing)
Paramètres
- message
- String
Message décrivant l'erreur.
- isTransient
- Boolean
Indique si l’erreur est temporaire et doit être retentée.
- trackingId
- String
Le service a retourné l’ID de suivi associé à cette erreur particulière.
- innerException
- Exception
Exception ayant provoqué l'exception actuelle.
S’applique à
IotHubClientException(String, String, IotHubClientErrorCode, Exception)
Crée une instance de cette classe.
protected internal IotHubClientException (string message, string trackingId, Microsoft.Azure.Devices.Client.IotHubClientErrorCode errorCode, Exception innerException = default);
new Microsoft.Azure.Devices.Client.IotHubClientException : string * string * Microsoft.Azure.Devices.Client.IotHubClientErrorCode * Exception -> Microsoft.Azure.Devices.Client.IotHubClientException
Protected Friend Sub New (message As String, trackingId As String, errorCode As IotHubClientErrorCode, Optional innerException As Exception = Nothing)
Paramètres
- message
- String
Message décrivant l'erreur.
- trackingId
- String
Le service a retourné l’ID de suivi associé à cette erreur particulière.
- errorCode
- IotHubClientErrorCode
Code d’erreur spécifique.
- innerException
- Exception
Exception ayant provoqué l'exception actuelle.
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour