C# Class Microsoft.Azure.Devices.Common.Exceptions.PreconditionFailedException

Inheritance: Microsoft.Azure.Devices.Common.Exceptions.IotHubException
Exibir arquivo Open project: Azure/azure-iot-sdk-csharp Class Usage Examples

Public Methods

Method Description
PreconditionFailedException ( string message ) : System

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

PreconditionFailedException ( string message, Exception innerException ) : System

Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.

PreconditionFailedException ( string message, string trackingId ) : System

Creates an instance of this class with the supplied error message and tracking Id, and marks it as non-transient.

Private Methods

Method Description
PreconditionFailedException ( ) : System
PreconditionFailedException ( SerializationInfo info, StreamingContext context ) : System

Method Details

PreconditionFailedException() public method

Creates an instance of this class with a specified error message and marks it as non-transient.
public PreconditionFailedException ( string message ) : System
message string The message that describes the error.
return System

PreconditionFailedException() public method

Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.
public PreconditionFailedException ( string message, Exception innerException ) : System
message string The message that describes the error.
innerException Exception The exception that is the cause of the current exception.
return System

PreconditionFailedException() public method

Creates an instance of this class with the supplied error message and tracking Id, and marks it as non-transient.
public PreconditionFailedException ( string message, string trackingId ) : System
message string The message that describes the error.
trackingId string The service returned tracking Id associated with this particular error.
return System