次の方法で共有


ConfigurationNotFoundException クラス

定義

クエリされた構成が IoT ハブで使用できない場合にスローされる例外。

[System.Serializable]
public class ConfigurationNotFoundException : Microsoft.Azure.Devices.Common.Exceptions.IotHubException
[<System.Serializable>]
type ConfigurationNotFoundException = class
    inherit IotHubException
Public Class ConfigurationNotFoundException
Inherits IotHubException
継承
ConfigurationNotFoundException
属性

コンストラクター

ConfigurationNotFoundException(SerializationInfo, StreamingContext)

を使用SerializationInfoして のConfigurationNotFoundExceptionインスタンスを作成し、StreamingContext例外に関連付けられます。

ConfigurationNotFoundException(String)

構成の ConfigurationNotFoundException ID を使用して のインスタンスを作成し、非一時的としてマークします。

ConfigurationNotFoundException(String, Exception)

指定したエラー メッセージと、この例外の原因となった内部例外への参照を含む の ConfigurationNotFoundException インスタンスを作成し、非一時的としてマークします。

ConfigurationNotFoundException(String, String)

構成の ID と IoT ハブの名前を使用して のインスタンス ConfigurationNotFoundException を作成し、非一時的としてマークします。

ConfigurationNotFoundException(String, String, String)

構成の ID、IoT ハブの名前、追跡 ID を使用して のインスタンス ConfigurationNotFoundException を作成し、非一時的としてマークします。

プロパティ

Code

例外に関連付けられているエラー コード。

(継承元 IotHubException)
IsTransient

エラーが一時的であり、再試行する必要があるかどうかを示します。

(継承元 IotHubException)
TrackingId

サービスは、この特定のエラーに関連付けられている追跡 ID を返しました。

(継承元 IotHubException)

メソッド

GetObjectData(SerializationInfo, StreamingContext)

例外に関する情報を含む SerializationInfo を設定します。 これを使用して、シリアル化されたオブジェクト データに と TrackingId を設定IsTransientします。

(継承元 IotHubException)

適用対象