XdsObjects Help file
XdsObjects Namespace / XdsImagingServer Class / Listen Method
The address (URL) to listen on



Listen Method (XdsImagingServer)
Specify an endpoint for listening
Syntax
Public Sub Listen( _
   ByVal Address As String _
) 
Dim instance As XdsImagingServer
Dim Address As String
 
instance.Listen(Address)
public void Listen( 
   string Address
)
public:
void Listen( 
   String^ Address
) 

Parameters

Address
The address (URL) to listen on
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