/// <summary> /// Initializes a new instance of the OperationResponse class. /// </summary> /// <param name="status">Operation state of the long running operation. /// Possible values include: 'Accepted', 'InProgress', /// 'TransientFailure', 'Succeeded', 'Failed', 'Canceled'</param> /// <param name="endTime">start time</param> /// <param name="error">The error property when status is /// failed.</param> /// <param name="startTime">start time</param> public OperationResponse(string status, System.DateTime?endTime = default(System.DateTime?), DataShareErrorInfo error = default(DataShareErrorInfo), System.DateTime?startTime = default(System.DateTime?)) { EndTime = endTime; Error = error; StartTime = startTime; Status = status; CustomInit(); }
/// <summary> /// Initializes a new instance of the DataShareError class. /// </summary> /// <param name="error">The data share error body</param> public DataShareError(DataShareErrorInfo error) { Error = error; CustomInit(); }