RequestContext.Close Method (TimeSpan)

When overridden in a derived class, closes the operation that is replying to the request context associated with the current context within a specified interval of time.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract void Close(
	TimeSpan timeout


Type: System.TimeSpan
The Timespan that specifies the interval of time within which the reply operation associated with the current context must close.

Notes to Implementers

The operation should throw a TimeoutException if the specified timeout is exceeded before it completes.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions