コード例 #1
0
 public System.IAsyncResult BeginDownloadFile5(int CountryId, string Filename, int RetailerId, string SessionId, int VoucherId, string s1, string s2, System.AsyncCallback callback, object asyncState)
 {
     MerchantSite.FileServiceRef.FileInfo5 inValue = new MerchantSite.FileServiceRef.FileInfo5();
     inValue.CountryId  = CountryId;
     inValue.Filename   = Filename;
     inValue.RetailerId = RetailerId;
     inValue.SessionId  = SessionId;
     inValue.VoucherId  = VoucherId;
     inValue.s1         = s1;
     inValue.s2         = s2;
     return(((MerchantSite.FileServiceRef.IFileService)(this)).BeginDownloadFile5(inValue, callback, asyncState));
 }
コード例 #2
0
 public System.IO.Stream DownloadFile5(ref int CountryId, ref string Filename, ref int RetailerId, ref string SessionId, ref int VoucherId, ref string s1, ref string s2)
 {
     MerchantSite.FileServiceRef.FileInfo5 inValue = new MerchantSite.FileServiceRef.FileInfo5();
     inValue.CountryId  = CountryId;
     inValue.Filename   = Filename;
     inValue.RetailerId = RetailerId;
     inValue.SessionId  = SessionId;
     inValue.VoucherId  = VoucherId;
     inValue.s1         = s1;
     inValue.s2         = s2;
     MerchantSite.FileServiceRef.FileMessage5 retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).DownloadFile5(inValue);
     CountryId  = retVal.CountryId;
     Filename   = retVal.Filename;
     RetailerId = retVal.RetailerId;
     SessionId  = retVal.SessionId;
     VoucherId  = retVal.VoucherId;
     s1         = retVal.s1;
     s2         = retVal.s2;
     return(retVal.FileByteStream);
 }
コード例 #3
0
 System.IAsyncResult MerchantSite.FileServiceRef.IFileService.BeginDownloadFile5(MerchantSite.FileServiceRef.FileInfo5 request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginDownloadFile5(request, callback, asyncState));
 }
コード例 #4
0
 MerchantSite.FileServiceRef.FileMessage5 MerchantSite.FileServiceRef.IFileService.DownloadFile5(MerchantSite.FileServiceRef.FileInfo5 request)
 {
     return(base.Channel.DownloadFile5(request));
 }