NsdFailure Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
public enum NsdFailure
type NsdFailure =
- Inheritance
-
NsdFailure
Fields
| Name | Value | Description |
|---|---|---|
| InternalError | 0 | Indicates that the operation failed due to an internal error. |
| AlreadyActive | 3 | Indicates that the operation failed because it is already active. |
| MaxLimit | 4 | Indicates that the operation failed because the maximum outstanding requests from the applications have reached. |
| OperationNotRunning | 5 | Indicates that the stop operation failed because it is not running. |
| BadParameters | 6 | Indicates that the service has failed to resolve because of bad parameters. |
| PermissionDenied | 7 | Indicates that the operation failed because the caller did not have the required permissions. This can happen when trying to perform resolution, discovery, or callback registration without the Manifest.permission.ACCESS_LOCAL_NETWORK permission. This failure is passed with ResolveListener.onResolveFailed, DiscoveryListener.onStartDiscoveryFailed, or ServiceInfoCallback.onServiceInfoCallbackRegistrationFailed. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.