PackWebRequest.Timeout Property


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

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

public override int Timeout { get; set; }

Property Value

Type: System.Int32

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

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).

.NET Framework
Available since 3.0
Return to top