Sdílet prostřednictvím


Delete.TreatErrorsAsWarnings Property

Definition

When true, errors will be logged as warnings.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool TreatErrorsAsWarnings { bool get(); void set(bool value); };
public bool TreatErrorsAsWarnings { get; set; }
public bool TreatErrorsAsWarnings { [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.TreatErrorsAsWarnings : 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.TreatErrorsAsWarnings : bool with get, set
Public Property TreatErrorsAsWarnings As Boolean

Property Value

true if errors are logged as warnings; otherwise, false.

Attributes

Remarks

The default value is false.

Applies to