AddNetworkResultStatus 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.
Identifies the result of adding or updating a Wi-Fi network configuration.
public enum AddNetworkResultStatus
type AddNetworkResultStatus =
- Inheritance
-
AddNetworkResultStatus
Fields
| Name | Value | Description |
|---|---|---|
| Success | 0 | The operation has completed successfully. 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. |
| FailureUnknown | 1 | The operation has failed due to an unknown reason. 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. |
| NoPermission | 2 | The calling app does not have permission to call this API. 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. |
| AddPasspointFailure | 3 | Generic failure code for adding a passpoint network. 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. |
| AddWifiConfigFailure | 4 | Generic failure code for adding a non-passpoint network. 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. |
| InvalidConfiguration | 5 | The network configuration is invalid. 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. |
| NoPermissionModifyConfig | 6 | The calling app has no permission to modify the configuration. 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. |
| NoPermissionModifyProxySetting | 7 | The calling app has no permission to modify the proxy setting. 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. |
| NoPermissionModifyMacRandomization | 8 | The calling app has no permission to modify the MAC randomization setting. 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. |
| FailureUpdateNetworkKeys | 9 | Internal failure in updating network keys.. 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. |
| InvalidConfigurationEnterprise | 10 | The enterprise network is missing either the root CA or domain name. 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
These codes describe StatusCode. Success is zero; the other codes distinguish configuration, permission, and update failures.