These constants identify errors that can occur when accessing net services.
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
public enum NSNetServicesError
Public Enumeration NSNetServicesError
public enum class NSNetServicesError

Member | Description |
---|---|
NSNetServicesUnknownError | An unknown error occurred. Available in Mac OS X v10.2 and later. |
NSNetServicesCollisionError | The service could not be published because the name is already in use. The name could be in use locally or on another system. Available in Mac OS X v10.2 and later. |
NSNetServicesNotFoundError | The service could not be found on the network. Available in Mac OS X v10.2 and later. |
NSNetServicesActivityInProgress | The net service cannot process the request at this time. No additional information about the network state is known. Available in Mac OS X v10.2 and later. |
NSNetServicesBadArgumentError | An invalid argument was used when creating the NSNetService object. Available in Mac OS X v10.2 and later. |
NSNetServicesCancelledError | The client canceled the action. Available in Mac OS X v10.2 and later. |
NSNetServicesInvalidError | The net service was improperly configured. Available in Mac OS X v10.2 and later. |
NSNetServicesTimeoutError | The net service has timed out. Available in Mac OS X v10.4 and later. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)