Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetRequestReason Method
Collapse the table of content
Expand the table of content

HttpWorkerRequest.GetRequestReason Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

When overridden in a derived class, returns the reason for the request.

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

public virtual int GetRequestReason()

Return Value

Type: System.Int32
Reason code. The default is ReasonResponseCacheMiss.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft