Share via


FastCgiApplicationElement Class [IIS 7 and higher]

Configures settings for a FastCGI application.

Syntax

class FastCgiApplicationElement : CollectionElement

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the FastCgiApplicationElement class.

Name

Description

ActivityTimeout

A read/write uint32 value that specifies the maximum time, in seconds, that IIS waits for FastCGI activity, such as sending data. The default is 30. A key property.

NoteNote:
The value specified is a lowest-maximum value. This maximum is not strictly enforced and can increase substantially under heavy loads.

Arguments

A read/write string value that specifies command-line arguments for the FastCGI application executable file.

EnvironmentVariables

An array of FastCgiEnvironmentSettings values that contain environment variables for the process executable program of an application pool.

FlushNamedPipe

A read/write boolean value. true if named pipes are flushed at the end of each request; otherwise, false. The default is false. This property applies only when the named-pipe protocol is used.

FullPath

A read/write string value that specifies the full path of the FastCGI application executable file. A key property.

IdleTimeout

A read/write uint32 value that specifies the time interval, in seconds, after which an idle process is ended. The default is 300.

InstanceMaxRequests

A read/write uint32 value that specifies the maximum number of requests that a FastCGI worker process can manage before the process is recycled. The default is 200.

MaxInstances

A read/write uint32 value that specifies the maximum number of FastCGI worker processes that can be started for an application pool.

Protocol

A read/write sint32 enumeration that specifies the transport mechanism that communicates with the FastCGI worker process. The possible values are listed later in the Remarks section.

QueueLength

A read/write uint32 value that specifies the maximum number of requests that can be queued for the FastCGI application pool. When the queue is full, subsequent requests return HTTP error code 503 (Service Unavailable).

RequestTimeout

A read/write uint32 value that specifies the maximum time, in seconds, that IIS waits for a FastCGI application to finish processing a request. The default is 90.

NoteNote:
The value specified is a lowest-maximum value. This maximum is not strictly enforced and can increase substantially under heavy loads.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the FastCgi array property of the FastCgiSection class.

The following table lists the possible values for the Protocol property. The default is 0 (NamedPipe).

Value

Keyword

Description

0

NamedPipe

The named-pipe protocol will be used to communicate with the FastCGI worker process.

1

Tcp

The TCP protocol will be used to communicate with the FastCGI worker process.

Inheritance Hierarchy

CollectionElement

   FastCgiApplicationElement

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

CollectionElement Class [IIS 7 and higher]

FastCgiSection Class [IIS 7 and higher]

FastCgiEnvironmentSettings Class [IIS 7 and higher]

FastCgiEnvironmentElement Class [IIS 7 and higher]