This object gives the developer the ability to be able to programmatically describe any preference for resources while their workload executes in the cluster. This preference can be associated with sessions or tasks.

C# |
public sealed class ResourcePreference

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | ResourcePreference(String) | Constructs a ResourcePreference object. |
![]() | ResourcePreference()()()() | Constructs an empty resource preference that can be populated by resource attribute definitions. |
![]() | AddDefinition(ResourceAttributeDefinition) | Allows a definition to be associated with a preference. |

NOTE: If any of the methods of this class are called after the main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).

Object | |
![]() | ResourcePreference |