ImageCloud
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Member Functions | Protected Member Functions | Properties
VisWpf.Utils.WebClientTimeout Class Reference

Creates a web client that will timeout if the given timeout interval is exceeded. More...

List of all members.

Public Member Functions

 WebClientTimeout (int timeout)
 Cretes a new Webclient with the given value for timeout.

Protected Member Functions

override WebRequest GetWebRequest (Uri address)
 Starts a WebRequest for the given Uri.

Properties

int Timeout [get, set]
 Gets or sets the timeout of the Webclient.

Detailed Description

Creates a web client that will timeout if the given timeout interval is exceeded.


Constructor & Destructor Documentation

VisWpf.Utils.WebClientTimeout.WebClientTimeout ( int  timeout)

Cretes a new Webclient with the given value for timeout.

Parameters:
timeoutThe maximum timeout time, in seconds.

Member Function Documentation

override WebRequest VisWpf.Utils.WebClientTimeout.GetWebRequest ( Uri  address)
protected

Starts a WebRequest for the given Uri.

Parameters:
addressThe Web Uri
Returns:
A WebRequest Object containing the desired response.

Property Documentation

int VisWpf.Utils.WebClientTimeout.Timeout
getset

Gets or sets the timeout of the Webclient.


The documentation for this class was generated from the following file: