XdsObjects Help file
XdsObjects Namespace / XdsSoapServer Class / Listen Method / Listen(String,Binding,Action<ServiceHost>) Method
Specify an endpoint for listening
User specified protocal binding
User defined action for self hosting



Listen(String,Binding,Action<ServiceHost>) Method
Listen on a specific endpoint with user defined Binding and Action
Syntax
Public Overloads Sub Listen( _
   ByVal Address As String, _
   ByVal Binding As Binding, _
   Optional ByVal Setup As Action(Of ServiceHost) _
) 
Dim instance As XdsSoapServer
Dim Address As String
Dim Binding As Binding
Dim Setup As Action(Of ServiceHost)
 
instance.Listen(Address, Binding, Setup)

Parameters

Address
Specify an endpoint for listening
Binding
User specified protocal binding
Setup
User defined action for self hosting
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also