public int EndDownloadFile2(System.IAsyncResult result, out int VoucherId, out string s1, out string s2, out System.IO.Stream FileByteStream) { MerchantSite.FileServiceRef.FileMessage2 retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).EndDownloadFile2(result); VoucherId = retVal.VoucherId; s1 = retVal.s1; s2 = retVal.s2; FileByteStream = retVal.FileByteStream; return(retVal.CountryId); }
public System.IAsyncResult BeginUploadFile2(int CountryId, int VoucherId, string s1, string s2, System.IO.Stream FileByteStream, System.AsyncCallback callback, object asyncState) { MerchantSite.FileServiceRef.FileMessage2 inValue = new MerchantSite.FileServiceRef.FileMessage2(); inValue.CountryId = CountryId; inValue.VoucherId = VoucherId; inValue.s1 = s1; inValue.s2 = s2; inValue.FileByteStream = FileByteStream; return(((MerchantSite.FileServiceRef.IFileService)(this)).BeginUploadFile2(inValue, callback, asyncState)); }
public void UploadFile2(int CountryId, int VoucherId, string s1, string s2, System.IO.Stream FileByteStream) { MerchantSite.FileServiceRef.FileMessage2 inValue = new MerchantSite.FileServiceRef.FileMessage2(); inValue.CountryId = CountryId; inValue.VoucherId = VoucherId; inValue.s1 = s1; inValue.s2 = s2; inValue.FileByteStream = FileByteStream; MerchantSite.FileServiceRef.UploadFile2Response retVal = ((MerchantSite.FileServiceRef.IFileService)(this)).UploadFile2(inValue); }
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.BeginUploadFile2(MerchantSite.FileServiceRef.FileMessage2 request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUploadFile2(request, callback, asyncState)); }
MerchantSite.FileServiceRef.UploadFile2Response MerchantSite.FileServiceRef.IFileService.UploadFile2(MerchantSite.FileServiceRef.FileMessage2 request) { return(base.Channel.UploadFile2(request)); }