C# Class Microsoft.Azure.Devices.Client.Exceptions.DeviceNotFoundException

Inheritance: Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Mostrar archivo Open project: Azure/azure-iot-sdk-csharp Class Usage Examples

Public Methods

Method Description
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.

Method Details

DeviceNotFoundException() public method

Initializes a new instance of the class.
public DeviceNotFoundException ( ) : System
return System

DeviceNotFoundException() public method

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.
return System

DeviceNotFoundException() public method

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.
return System

DeviceNotFoundException() public method

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
return System

DeviceNotFoundException() public method

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.
return System

DeviceNotFoundException() public method

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.
return System