These constants represent errors returned by application services.
Available in Mac OS X v10.5 and later.

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

Member | Description |
---|---|
NSServiceApplicationNotFoundError | The service provider could not be found. Available in Mac OS X v10.5 and later. |
NSServiceApplicationLaunchFailedError | The service providing application could not be launched. This will typically contain an underlying error with an Launch Services error code. Available in Mac OS X v10.5 and later. |
NSServiceRequestTimedOutError | The service providing application did not open its service listening port in time, or the app didn't respond to the request in time; see the Console log to figure out which (the errors are typically reported the same way to the user). Available in Mac OS X v10.5 and later. |
NSServiceInvalidPasteboardDataError | The service providing app did not return a pasteboard with any of the promised types, or we couldn't write the data from the pasteboard to the object receiving the returned data. Available in Mac OS X v10.5 and later. |
NSServiceMalformedServiceDictionaryError | The service dictionary did not contain the necessary keys. Messages will typically be logged to the console giving more details. Available in Mac OS X v10.5 and later. |
NSServiceMiscellaneousError | Other errors, representing programmatic mistakes in the service consuming application. These show a generic error message to the user. Available in Mac OS X v10.5 and later. |
NSServiceErrorMinimum | Inclusive service error range, for checking future error codes. Available in Mac OS X v10.5 and later. |
NSServiceErrorMaximum | Inclusive service error range, for checking future error codes. Available in Mac OS X v10.5 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)