Exception | Description |
---|---|
System.NotSupportedException | Thrown when the key specified is reserved for use by the UnassignedResource only, or when attempting to modify the key of the UnassignedResource because the UnassignedResource is limited to a single entity that must always have it's reserved key. |
The Key is used to lookup and administer the Resource instance in it's collection, and is distinct from the Name which identifies the Resource in a user-friendly manner. For example, a Resource may have the Key 17, while having a more memorable Name such as "Bob."
The Key value -999 is reserved for use by the UnassignedResource, and cannot be specified for other resources in a scheduling application.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2