Configures the processor affinity for the process resource policy.
[SupportedOSPlatform("windows")]
[SupportedOSPlatform("linux")]
public ProcessResourcePolicySpec SetProcessorAffinity(nint processorAffinity)
The processor affinity to be used.
Process objects only support Processor Affinity on Windows and Linux operating systems.