IISAPIRuntime.ProcessRequest Method (IntPtr, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Creates a new HttpWorkerRequest object to process the current request.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
	Unrestricted = true)]
int ProcessRequest(
	IntPtr ecb,
	int useProcessModel


Type: System.IntPtr

An ISAPI extension control block.

Type: System.Int32

0 to create an out-of-process request; otherwise, an in-process request is created.

Return Value

Type: System.Int32

0 if HttpWorkerRequest was created successfully; otherwise, 1.

.NET Framework
Available since 1.1
Return to top