0
我的代碼如下:添加引用WCF服務的Silverlight應用程序
ServiceReference1.ImageFile imagefile = new ServiceReference3.ImageFile();
imagefile.ImageName = fileName;
imagefile.Imagestream = bytes;
ServiceReference3.Service1Client service = new ServiceReference3.Service1Client();
service.UploadCompleted += new EventHandler<ServiceReference3.UploadCompletedEventArgs>(service_UploadCompleted);
service.UploadAsync(imagefile);
這裏ServiceReference1未創建如何創建服務引用,並ServiceReference1在xaml.cs提供page.Anyone幫助我大大appriciated
是什麼問題...錯誤???? –
我不做服務referece.how去做?ServiceReference3或ServiceReference1。請使用xaml.cs page.how創建服務引用。 – decoder
是你的工作嗎? –