Dart.Sockets Namespace > Ping Class > Start Method : Start(PingThreadStart,IPAddress,Type,Object) Method |
'Declaration Public Overloads Sub Start( _ ByVal worker As PingThreadStart, _ ByVal localAddress As IPAddress, _ ByVal type As Ping.Type, _ ByVal state As Object _ )
'Usage Dim instance As Ping Dim worker As PingThreadStart Dim localAddress As IPAddress Dim type As Ping.Type Dim state As Object instance.Start(worker, localAddress, type, state)
public void Start( PingThreadStart worker, IPAddress localAddress, Ping.Type type, object state )
public: void Start( PingThreadStart* worker, IPAddress* localAddress, Ping.Type type, Object* state )
public: void Start( PingThreadStart^ worker, IPAddress^ localAddress, Ping.Type type, Object^ state )
This method provides a convenient means for executing blocking functions on a worker thread. Applications with a UI thread should use this technique to execute processes (like multiple Pings) that can block the UI thread.
Unhandled exceptions occurring on the worker thread will be caught and reported by the Error event.