RequestContext.Close Method (TimeSpan)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public MustOverride Sub Close ( _
    timeout As TimeSpan _
)
public abstract void Close(
    TimeSpan timeout
)

Parameters

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

Remarks

Notes to Implementers

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

Version Information

Silverlight

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

Platforms

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