/// <summary> /// Initializes a new instance of the WebOperationProgressChangedEventArgs class. /// </summary> /// <param name="length">The number of bytes received</param> /// <param name="totalLength">The total number of bytes to receive.</param> /// <param name="state">The current state of the operation.</param> /// <param name="result">The result of the operation.</param> public WebOperationProgressChangedEventArgs(long length, long totalLength, WebOperationState state, WebOperationResult result) { _length = length; _totalLength = totalLength; _state = state; _result = result; }