Szerkesztés

Megosztás a következőn keresztül:


PackWebRequest.Timeout Property

Definition

Gets or sets the length of time before the request times out.

public:
 virtual property int Timeout { int get(); void set(int value); };
public override int Timeout { get; set; }
member this.Timeout : int with get, set
Public Overrides Property Timeout As Integer

Property Value

The number of milliseconds to wait before the request times out.

Remarks

Requests to the package cache do not time out. For requests that resolve from the PackageStore cache, Timeout returns a value of -1.

The Timeout property is shared with the inner request (GetInnerRequest).

Applies to