Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property int Timeout {
	virtual int get() override;
	virtual void set(int value) override;
}

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
Show:
© 2017 Microsoft