StatusCode 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.
An enumeration whose values specify various statuses relating to network reachability.
public enum StatusCode
type StatusCode =
- Inheritance
-
StatusCode
Fields
Name | Value | Description |
---|---|---|
OK | 0 | The call succeeded. |
Failed | 1001 | General error. |
InvalidArgument | 1002 | A bad argument was passed. |
AccessError | 1003 | Permission was denied. |
NoKey | 1004 | The key does not exist. |
KeyExists | 1005 | The key is already defined. |
Locked | 1006 | A lock is already defined. |
NeedLock | 1007 | The operation requires a lock. |
NoStoreSession | 2001 | The configuration daemon session is not active. |
NoStoreServer | 2002 | The configuration daemon is not available. |
NotifierActive | 2003 | Notifier is active. |
NoPrefsSession | 3001 | The preferences session is not active. |
PrefsBusy | 3002 | A preferences update is currently active. |
NoConfigFile | 3003 | The config file cannot be found. |
NoLink | 3004 | The link does not exist. |
Stale | 3005 | A write was attempted on a stale version of the object. |
MaxLink | 3006 | The max link count has been exceeded. |
ReachabilityUnknown | 4001 | The reachability of the target cannot be determined. |
ConnectionNoService | 5001 | Network service for connection is unavailable. |
ConnectionIgnore | 5002 |
Applies to
See also
- <xref:SystemConfiguration.SystemConfigurationException.StatusCode>