C# Класс Microsoft.Azure.Devices.Client.Exceptions.DeviceNotFoundException

Наследование: Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeviceNotFoundException ( ) : System

Initializes a new instance of the class.

DeviceNotFoundException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the class with the specified serialization and context information.

DeviceNotFoundException ( string deviceId ) : System

Initializes a new instance of the class with the message string containing the device identifier that could not be found.

DeviceNotFoundException ( string message, Exception innerException ) : System

Initializes a new instance of the class with the message string containing the identifier of the device that could not be found and a reference to the inner exception that is the cause of this exception.

DeviceNotFoundException ( string deviceId, string iotHubName ) : System

Initializes a new instance of the class with the message string containing the device identifier and the IoT hub instance that could not be found.

DeviceNotFoundException ( string deviceId, string iotHubName, string trackingId ) : System

Initializes a new instance of the class with the message string containing the device identifier that could not be found.

Описание методов

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class.
public DeviceNotFoundException ( ) : System
Результат System

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class with the specified serialization and context information.
public DeviceNotFoundException ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo An object that holds the serialized object data about the exception being thrown.
context StreamingContext An object that contains contextual information about the source or destination.
Результат System

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class with the message string containing the device identifier that could not be found.
public DeviceNotFoundException ( string deviceId ) : System
deviceId string Device identifier that already exists.
Результат System

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class with the message string containing the identifier of the device that could not be found and a reference to the inner exception that is the cause of this exception.
public DeviceNotFoundException ( string message, Exception innerException ) : System
message string A description of the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
innerException Exception The exception that is the cause of the current exception
Результат System

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class with the message string containing the device identifier and the IoT hub instance that could not be found.
public DeviceNotFoundException ( string deviceId, string iotHubName ) : System
deviceId string Device identifier that already exists.
iotHubName string Name of the IoT hub instance.
Результат System

DeviceNotFoundException() публичный Метод

Initializes a new instance of the class with the message string containing the device identifier that could not be found.
public DeviceNotFoundException ( string deviceId, string iotHubName, string trackingId ) : System
deviceId string Device identifier that already exists.
iotHubName string Name of the IoT hub instance.
trackingId string Tracking identifier that is used for telemetry purposes.
Результат System