If you want to use Stream in Parameter but also want to pass string or int then at that time you need to create a class and in that class you can pass what you want to send and then call that class into your parameter. feel free for any query.
Thanks Danish Shafique