DefaultHttpHandler.OnExecuteUrlPreconditionFailure Method

Called when preconditions prevent the DefaultHttpHandler object from processing a request.

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

public:
virtual void OnExecuteUrlPreconditionFailure ()
public void OnExecuteUrlPreconditionFailure ()
public function OnExecuteUrlPreconditionFailure ()
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: