Compartir a través de


OutgoingWebRequestContext.ContentLength Property

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

Gets and sets the content length header value of the outgoing Web request.

Namespace:  System.ServiceModel.Web
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

Syntax

'Declaration
Public Property ContentLength As Long
public long ContentLength { get; set; }

Property Value

Type: System.Int64
The content length header of the outgoing Web request.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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