public System.IAsyncResult BeginDownloadFile2(int CountryId, int VoucherId, string s1, string s2, System.AsyncCallback callback, object asyncState) { MerchantSite.FileServiceRef.FileInfo2 inValue = new MerchantSite.FileServiceRef.FileInfo2(); inValue.CountryId = CountryId; inValue.VoucherId = VoucherId; inValue.s1 = s1; inValue.s2 = s2; return(((MerchantSite.FileServiceRef.IFileService)(this)).BeginDownloadFile2(inValue, callback, asyncState)); }
public System.IO.Stream DownloadFile2(ref int CountryId, ref int VoucherId, ref string s1, ref string s2) { MerchantSite.FileServiceRef.FileInfo2 inValue = new MerchantSite.FileServiceRef.FileInfo2(); inValue.CountryId = CountryId; inValue.VoucherId = VoucherId; inValue.s1 = s1; inValue.s2 = s2; MerchantSite.FileServiceRef.FileMessage2 retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).DownloadFile2(inValue); CountryId = retVal.CountryId; VoucherId = retVal.VoucherId; s1 = retVal.s1; s2 = retVal.s2; return(retVal.FileByteStream); }
System.IAsyncResult MerchantSite.FileServiceRef.IFileService.BeginDownloadFile2(MerchantSite.FileServiceRef.FileInfo2 request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginDownloadFile2(request, callback, asyncState)); }
MerchantSite.FileServiceRef.FileMessage2 MerchantSite.FileServiceRef.IFileService.DownloadFile2(MerchantSite.FileServiceRef.FileInfo2 request) { return(base.Channel.DownloadFile2(request)); }