PowerTCP Sockets for .NET
Start(DnsThreadStart,IPEndPoint,Object) Method




DnsThreadStart delegate specifies the method to execute.
Specifies the local IPEndPoint to bind to.
Information to pass to the worker delegate method; can be null.
Starts a worker thread on which the specified delegate method executes.
Syntax
'Declaration
 
Public Overloads Sub Start( _
   ByVal worker As DnsThreadStart, _
   ByVal localEndPoint As IPEndPoint, _
   ByVal state As Object _
) 
'Usage
 
Dim instance As Dns
Dim worker As DnsThreadStart
Dim localEndPoint As IPEndPoint
Dim state As Object
 
instance.Start(worker, localEndPoint, state)
public void Start( 
   DnsThreadStart worker,
   IPEndPoint localEndPoint,
   object state
)
public: void Start( 
   DnsThreadStart* worker,
   IPEndPoint* localEndPoint,
   Object* state
) 
public:
void Start( 
   DnsThreadStart^ worker,
   IPEndPoint^ localEndPoint,
   Object^ state
) 

Parameters

worker
DnsThreadStart delegate specifies the method to execute.
localEndPoint
Specifies the local IPEndPoint to bind to.
state
Information to pass to the worker delegate method; can be null.
Remarks

This method provides an easy means for executing multiple DNS resolutions in parallel.

Unhandled exceptions occurring on the worker thread are reported via the Error event.

See Also

Reference

Dns Class
Dns Members
Overload List


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic