DefaultHttpHandler.OnExecuteUrlPreconditionFailure Method
Assembly: System.Web (in system.web.dll)
The OnExecuteUrlPreconditionFailure method is called when preconditions prevent the DefaultHttpHandler object from processing a request. A deriving class might override the OnExecuteUrlPreconditionFailure method to throw an exception when the preconditions fail. The DefaultHttpHandler does not throw an exception in the OnExecuteUrlPreconditionFailure method.
Any of the following will cause the preconditions to fail.
-
Calling System.Web.HttpResponse.Write.
-
Calling HttpResponse.AddHeader.
-
Calling HttpResponse.Flush.
-
Changing the cache policy for the response.
-
Adding a Stream object as a filter to the HttpResponse.Filter property.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.