Timeout Property

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 */
public int get_Timeout ()

/** @property */
public void set_Timeout (int value)

public override function get Timeout () : int

public override function set Timeout (value : int)

You cannot use this property in XAML.

Property Value

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2016 Microsoft