This is the webservice method, I have
LoadImageFromDB(int ID, ref Stream streamReturnVal)
I have it at the top of the section using Stream = System.IO.MemoryStream;
Whenever I use this method (update web link) from a web application, I get this error
'Stream' is an ambiguous reference between 'System.IO.Stream' and 'WebReference.Stream'
Any thoughts?
In webservice class
using Stream = System.IO.MemoryStream;
LoadImageFromDB(int ID, ref Stream streamReturnVal);
On the web page where the web service is used above:
Using WebReference
Stream streamReturnVal = null;
streamReturnVal = new MemoryStream();
WebserviceInstanceName.LoadImageFromDB(100,streamReturnVal );
PS: stream - from System.IO.Stream
source
share