XdsObjects Help file
XdsObjects Namespace / XdsSoapServer Class / Listen Method / Listen(String) Method



In This Topic
    Listen(String) Method
    In This Topic
    Listen on a specific endpoint
    Syntax
    Public Overloads Sub Listen( _
       ByVal Address As String _
    ) 
    Dim instance As XdsSoapServer
    Dim Address As String
     
    instance.Listen(Address)
    public void Listen( 
       string Address
    )
    public:
    void Listen( 
       String^ Address
    ) 

    Parameters

    Address
    Remarks

    A server can listen on multiple endpoint addresses

    If secure listening is required, the port and certificate must be configured using httpcfg or (for Vista/Windows 7) netsh - see Server Certificates for more details

    Example
    serverobject.Listen("http://myservername:8080/MyLIsteningEndpoint)serverobject.Listen("https://myservername:8080/MySecureLsteningEndpoint)
    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