Table of Contents

Enum CommandStatusCode

Namespace
Azure.Iot.Operations.Protocol.RPC
Assembly
Azure.Iot.Operations.Protocol.dll

HTTP status codes used to indicate the status of a Command.

public enum CommandStatusCode

Fields

BadRequest = 400

Bad Request. Header or payload is missing or invalid.

InternalServerError = 500

Internal Server. Unknown error, internal logic error, or command processor error other than InvocationException.

NoContent = 204

No Content. There is no content to send for this request.

NotSupportedVersion = 505

The request failed because the remote party did not support the requested protocol version.

OK = 200

OK. No error.

RequestTimeout = 408

Request Timeout. The request timeout out before a response could be received from the command processor.

ServiceUnavailable = 503

Service Unavailable. Invalid service state preventing command from executing properly.

UnsupportedMediaType = 415

Unsupported Media Type. The content type specified in the request is not supported by this implementation.