Share via


OperationResponse Class

Definition

Class encapsulates the response of one operation. Available operations are in Operation.cs For one operation, Http request can sent more than one time (More than one retry).

public class OperationResponse
type OperationResponse = class
Public Class OperationResponse
Inheritance
OperationResponse

Constructors

OperationResponse()

Properties

Error

Any other error caught by the code while sending the last Http request for the operation

Ex

Any other exception thrown while sending the last Http request for the operation

ExceptionHistory

Exception history of all the retries for this operation. This should not be reset for every retry

HttpMessage

Http message/ output for the last Http request for this operation

HttpStatus

HttpStatus Code for the last Http request for this operation

IsSuccessful

Whether the last Http request was successful for the operation

LastCallLatency

Total latency for the last request for the operation

OpCode

Operation Code

RemoteExceptionJavaClassName

Remote exception java classname returned from the server for the last Http request for this operation

RemoteExceptionMessage

Remote exception message returned from the server for the last Http request for this operation

RemoteExceptionName

Remote exception name returned from the server for the last Http request for this operation

RequestId

Request Id or the trace ID returned from the server for the last request for the operation

Retries

Number of retries for the operation

TokenAcquisitionLatency

Total latency for token acquisition for the last request for the operation

Methods

Reset()

Resets all memebers exception the ExceptionHistory

Applies to