Delen via


JobCancelledException Class

Definition

The exception that is thrown when the queried job has already been canceled on IoT hub. Note: This exception is currently not thrown by the client library.

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

Constructors

JobCancelledException()

Creates an instance of this class with the default error message and marks it as non-transient.

Properties

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

GetObjectData(SerializationInfo, StreamingContext)

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

(Inherited from IotHubException)

Applies to