共用方式為


ToolTask.Timeout Property

Definition

Project visible property that allows the user to specify an amount of time after which the task executable is terminated.

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

Property Value

Time-out in milliseconds. Default is Infinite (no time-out).

Attributes

Applies to