developer:soap-1.1:methods:closebatch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.1:methods:closebatch [2009/06/24 13:44]
charlie created
developer:soap-1.1:methods:closebatch [2010/10/21 15:09]
irina
Line 60: Line 60:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Try
 +            client.closeBatch(token,​ "​0"​)
 +            MsgBox("​Your batch has closed."​)
 +        Catch ex As Exception
 +            MsgBox(ex.Message)
 +        End Try
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string BatchRefNum;​
 +            BatchRefNum = "​0";​
 +
 +            Boolean result;
 +
 +            try
 +            {
 +                result = client.closeBatch(token,​ BatchRefNum);​
 +                if (result)
 +                {
 +                    MessageBox.Show(string.Concat("​The batch was closed succesfully"​));​
 +                }
 +                else MessageBox.Show(string.Concat("​the batch was not closed"​));​
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== XML ==== ==== XML ====
developer/soap-1.1/methods/closebatch.txt ยท Last modified: 2010/10/21 15:09 by irina

Page Tools