LogEventOnRecycle Property

MSBuild

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.


Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property LogEventOnRecycle As Integer
C#
public int LogEventOnRecycle { get; set; }
C++
public property int LogEventOnRecycle sealed  {
    int get();
    void set(int value);
}
J#
/** property */
public int get_LogEventOnRecycle();

/** property */
public void set_LogEventOnRecycle(int value);
JScript
public function get LogEventOnRecycle() : int

public function set LogEventOnRecycle(value : int);

Property Value

Value indicating which recycle events to log.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.