Compartir a través de


DeviceInvalidResultCountException Class

Definition

The exception that is thrown when the count of device results exceeds the specified maximum value. Note: This exception is currently not thrown by the client library.

[System.Serializable]
public sealed class DeviceInvalidResultCountException : Microsoft.Azure.Devices.Common.Exceptions.IotHubException
[<System.Serializable>]
type DeviceInvalidResultCountException = class
    inherit IotHubException
Public NotInheritable Class DeviceInvalidResultCountException
Inherits IotHubException
Inheritance
DeviceInvalidResultCountException
Attributes

Constructors

Name Description
DeviceInvalidResultCountException(Int32)

Creates an instance of DeviceInvalidResultCountException with the value of the maximum allowable count of device results and marks it as non-transient.

Properties

Name Description
Code

The error code associated with the exception.

(Inherited from IotHubException)
IsTransient

Indicates if the error is transient and should be retried.

(Inherited from IotHubException)
TrackingId

The service returned tracking Id associated with this particular error.

(Inherited from IotHubException)

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception. Use this to set IsTransient and TrackingId to the serialized object data.

Applies to