asp.net.ph

HttpWorkerRequest.SendCalculatedContentLength Method

System.Web Namespace   HttpWorkerRequest Class


Adds a Content-Length HTTP header to the response.

[ VB ]
<ComVisible ( False ) >
Overridable Public Sub SendCalculatedContentLength ( _
   ByVal contentLength As Integer _
)

[ C# ]
 [ ComVisible ( false ) ] 
public virtual void SendCalculatedContentLength (
   int contentLength
);

[ C++ ]
 [ ComVisible ( false ) ] 
public: virtual void SendCalculatedContentLength (
   int contentLength
);

[ JScript ]
public ComVisible ( false ) 
function SendCalculatedContentLength (
   contentLength : int
);

Parameters

contentLength
The length of the response, in bytes.

Remarks

When the content length is not explicitly set, this method allows HttpWorkerRequest to add a Content-Length HTTP header to the response.

See Also

HttpWorkerRequest Members   HttpRuntime Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph