Represents the method that will handle DidFindService
events from a NetServiceBrowser instance.
| C# | Visual Basic | Visual C++ |
public delegate void ServiceFound( NetServiceBrowser browser, NetService service, bool moreComing )
Public Delegate Sub ServiceFound ( _ browser As NetServiceBrowser, _ service As NetService, _ moreComing As Boolean _ )
public delegate void ServiceFound ( NetServiceBrowser^ browser, NetService^ service, bool moreComing )
- browser (NetServiceBrowser)
- Sender of this event.
- service (NetService)
- NetService found by the the browser. This object can be used to obtain more information about the service.
- moreComing (Boolean)
- True when more services will be arriving shortly.
The target uses this delegate to compile a list of services. It should wait until moreComing is false before updating the user interface, so as to avoid flickering.
The service object inherits its DNSService invokable options from browser.