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


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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