Share via


AffinityInformation Class

Definition

A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task.

public class AffinityInformation
type AffinityInformation = class
Public Class AffinityInformation
Inheritance
AffinityInformation

Constructors

AffinityInformation()

Initializes a new instance of the AffinityInformation class.

AffinityInformation(String)

Initializes a new instance of the AffinityInformation class.

Properties

AffinityId

Gets or sets an opaque string representing the location of a Compute Node or a Task that has run previously.

Applies to