/// <summary> /// Create an ApiResult object for a completed request. /// </summary> /// <param name="userState">User state.</param> /// <param name="exception">Null if all OK.</param> /// <param name="result">Status.</param> /// <param name="responseString">Returned string from the request.</param> internal ApiResult(object userState, Exception exception, WebApiServerStatus result, string responseString) { _userState = userState; _responseString = responseString; _error = exception; _resultStatus = result; }
internal WebServiceEventArgs(WebApiServerStatus status, Exception exception, string response, object state) { _currentStatus = status; _currentException = exception; _resultString = response; _state = state; }