Partilhar via


Copy.Retries Property

Definition

Gets or sets the number of times to attempt to copy, if all previous attempts failed. Warning: using retries may mask a synchronization problem in your build process.

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

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

Property Value

The number of times to attempt to copy, if all previous attempts failed. The default is zero.

Attributes

Applies to