📄 msbuild.community.tasks.xsd
字号:
specify the and for the task
to run under.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent mixed="false">
<xs:extension base="msb:TaskType">
<xs:attribute name="ApplicationPoolName" type="msb:non_empty_string" use="required">
<xs:annotation>
<xs:documentation>Gets or sets the name of the application pool.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AppPoolAutoStart" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] The AppPoolAutoStart property indicates to the World Wide Web Publishing Service (WWW service)
to automatically start an application pool when the application pool is created or when IIS
is started, if the value of this property is set to true.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AppPoolIdentityType" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The AppPoolIdentityType property allows application pools to run as a specific user account:
0 - The application pool runs as NT AUTHORITY\SYSTEM.
1 - The application pool runs as NT AUTHORITY\LOCAL SERVICE.
2 - The application pool runs as NT AUTHORITY\NETWORK SERVICE.
3 - The application pool runs as a specific user account, defined by the property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AppPoolQueueLength" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The AppPoolQueueLength property indicates to the Universal Listener how many requests
to queue up for an application pool before rejecting future requests. When the limit
for this property is exceeded, IIS rejects the additional requests with a 503 error.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AutoShutdownAppPoolExe" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The AutoShutdownAppPoolExe property specifies an executable to run when the World Wide Web
Publishing Service (WWW service) shuts down an application pool for rapid fail protection. You
can use the property to send parameters to the executable.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AutoShutdownAppPoolParams" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The AutoShutdownAppPoolParams property specifies any command-line parameters for the executable that
is specified in the AutoShutdownAppPoolExe property. You can use these two properties in the following
way to send e-mail, for example, when the World Wide Web Publishing Service (WWW service) shuts down
an application pool for rapid fail protection:
AutoShutdownAppPoolExe = "C:\LogAndSendMail.bat"
AutoShutdownAppPoolParams = "-AppPoolName %1%"
where %1% represents the application pool name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CPUAction" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The CPUAction property configures the action(s) that IIS takes when Microsoft Windows NT 庐 job objects
run. Only one Windows NT job object exists per application pool, therefore the CPUAction property
is configured on a per application pool basis.
Possible values:
0 - No action is taken except that a warning is written to the event log when the CPU limit is exceeded.
1 - Application pool worker processes that exceed their CPU limit will be forced to shut down.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CPULimit" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The CPULimit property configures the maximum percentage of CPU resources that worker processes
in an application pool are allowed to consume over a period of time, as indicated by the
property. Set this property by specifying a percentage of CPU
usage, multiplied by 1000. For example, if you want the CPU usage limit to be 50%, set CPULimit to 50,000.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CPUResetInterval" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The CPUResetInterval property specifies the reset period (in minutes) for CPU monitoring and
throttling limits on the application pool. When the number of minutes elapsed since the last
process accounting reset equals the number specified by this property, IIS will reset the CPU
timers for both the logging and limit intervals. Setting the value of this property to 0
disables CPU monitoring.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisallowOverlappingRotation" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] The DisallowOverlappingRotation property specifies whether or not the World Wide Web Publishing
Service (WWW Service) should start up another worker process to replace the existing worker
process while it is shutting down.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisallowRotationOnConfigChange" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] The DisallowRotationOnConfigChange property specifies whether or not the World Wide Web Publishing
Service (WWW Service) should rotate worker processes in an application pool when the configuration
has changed. This means that the worker processes will not pick up application pool changes to
values passed to the worker process, such as and .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IdleTimeout" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The IdleTimeout property specifies how long (in minutes) a worker process should run idle if no new
requests are received and the worker process is not processing requests. After the allotted time
passes, the worker process should request to be shut down by the World Wide Web Publishing Service (WWW Service).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LoadBalancerCapabilities" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The LoadBalancerCapabilities property specifies behavior when a service is unavailable. A setting of 1
terminates the connection. A setting of 2 sends error code 503.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LogEventOnRecycle" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The LogEventOnRecycle property specifies that IIS should log an event when an application pool is
recycled. Application pools recycle for a variety of reasons. In order for IIS to log the event, the
LogEventOnRecycle property must have a bit set corresponding to the reason for the recycle.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LogonMethod" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The LogonMethod property contains an integer that specifies the logon method for cleartext
logons. Valid settings are:
0 for interactive logon.
1 for batch logon.
2 for network logon.
3 for cleartext logon.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxProcesses" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The MaxProcesses property determines the maximum number of worker processes an application pool
allows to service requests for an application pool. This property cannot be set to 0 because there
are no unmanaged pools.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OrphanActionExe" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The OrphanActionExe property specifies an executable to run when the World Wide Web Publishing
Service (WWW service) orphans a worker process. You can use the property
to send parameters to the executable.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OrphanActionParams" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The OrphanActionParams property specifies command-line parameters for the executable
specified by the property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OrphanWorkerProcess" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] The OrphanWorkerProcess property, when set to true, notifies the World Wide Web Publishing
Service (WWW Service) not to terminate a worker process that fails to respond to pings, but
to instead orphan the worker process in the application pool if the worker process suffers
fatal errors.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Password" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] Gets or sets the password for the account the task will run under. This property
is needed if you specified a for a remote machine.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PeriodicRestartMemory" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PeriodicRestartMemory property specifies the amount of virtual memory (in KB) that a
worker process can use before the worker process recycles. The maximum value supported
for this property is 4,294,967 KB.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PeriodicRestartPrivateMemory" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PeriodicRestartPrivateMemory property specifies the amount of private memory (in KB) that a
worker process can use before the worker process recycles. The maximum value supported
for this property is 4,294,967 KB.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PeriodicRestartRequests" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PeriodicRestartRequests property indicates the number of requests the OOP application
should process, after which it is recycled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PeriodicRestartSchedule" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PeriodicRestartSchedule property specifies the time (in 24 hour format) that the application
will be rotated. Each time is in local time and is specified in the following format:
PeriodicRestartSchedule="hh:mm,hh:mm,hh:mm"</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PeriodicRestartTime" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PeriodicRestartTime property specifies the period of time, in minutes, after which IIS
rotates an isolated OOP application. Setting the value of this property to 0 disables the
property. The maximum supported value for this property is 71,582.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PingingEnabled" type="msb:non_empty_string">
<xs:annotation>
<xs:documentation>[Optional] The PingingEnabled property specifies whether the World Wide Web Publishing Service
(WWW Service) should periodically monitor the health of a worker process. Setting the
value of this property to true indicates to the WWW service to monitor the worker
processes to ensure that the they are running and healthy.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PingInterval" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PingInterval property specifies the period of time (in seconds) between health-monitoring
pings that the World Wide Web Publishing Service (WWW Service) sends to a worker process.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PingResponseTime" type="xs:string">
<xs:annotation>
<xs:documentation>[Optional] The PingResponseTime property specifies the amount of time (in seconds) that a worker process
is given to respond to a health monitoring ping. After the time limit is exceeded, the World
Wide Web Publishing Service (WWW Service) terminates the worker process.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RapidFailProtection" type="msb:non_empty_string">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -