/// <summary> /// Parses the JSON error text. /// </summary> /// <param name="jsonErrorText">The JSON error response from the cloud /// storage server.</param> private void ParseJsonError(string jsonErrorText) { CloudStorageErrorResponse temp = JsonConvert.DeserializeObject <CloudStorageErrorResponse>(jsonErrorText); this.errorField = temp.error; }
/// <summary> /// Parses the JSON error text. /// </summary> /// <param name="jsonErrorText">The JSON error response from the cloud /// storage server.</param> private void ParseJsonError(string jsonErrorText) { CloudStorageErrorResponse temp = serializer.Deserialize <CloudStorageErrorResponse>( jsonErrorText); this.errorField = temp.error; }