Partilhar via


BuildParameters.LegacyThreadingSemantics Property

Definition

Enables or disables legacy threading semantics

public:
 property bool LegacyThreadingSemantics { bool get(); void set(bool value); };
public bool LegacyThreadingSemantics { get; set; }
public bool LegacyThreadingSemantics { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.LegacyThreadingSemantics : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.LegacyThreadingSemantics : bool with get, set
Public Property LegacyThreadingSemantics As Boolean

Property Value

Returns a switch that enables or disables legacy threading semantics; true if enabled, false otherwise.

Attributes

Remarks

Legacy threading semantics indicate that if a submission is to be built only on the in-proc node and the submission is executed synchronously, then all of its requests will be built on the thread which invoked the build rather than a thread owned by the BuildManager.

Applies to