Provides a connection to and method allowing interaction with a BargeEx
environment.
Namespace:
BargeExAssembly: BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)
Syntax
C# |
---|
[SerializableAttribute] public class BargeExService : SerializableBase |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class BargeExService _ Inherits SerializableBase |
Visual C++ |
---|
[SerializableAttribute] public ref class BargeExService : public SerializableBase |
Remarks
An application may have multiple instances of this object if they connect
to multiple BargeEx environments.
Examples
The following example creates a
BargeExService
object, initializes it, and calls the
Test method.
CopyVisual Basic
' BargeEx Standard Return Code Dim BargeExReturnCode As BargeEx.StandardReturnCode ' BargeExService object Dim BargeExService As New BargeEx.BargeExService( _ "https://www.BargeEx.com/Beta/BargeExService.asmx", _ "12345678", _ "UserName", _ "Password") ' Test the connection BargeExReturnCode = BargeExService.Test()
CopyC#
// BargeEx Standard Return Code BargeEx.StandardReturnCode BargeExReturnCode; // BargeExService object BargeEx.BargeExService BargeExService = new BargeEx.BargeExService( "https://www.BargeEx.com/Beta/BargeExService.asmx", "12345678", "UserName", "Password"); // Test the connection BargeExReturnCode = BargeExService.Test();