Class: TimeoutPolicy

system.process. TimeoutPolicy


new TimeoutPolicy(value, name)

Defines the policies of the timeout states in your application.

Defines the policy of the timeout states in your application.

Parameters:
Name Type Description
value number

The value of the enumeration.

name string

The name key of the enumeration.

Example
var TimeoutPolicy = system.process.TimeoutPolicy  ;

trace( TimeoutPolicy.INFINITY ) ;
trace( "infinity : " + TimeoutPolicy.INFINITY ) ;
trace( "toString : " + TimeoutPolicy.INFINITY.toString() ) ;
trace( "valueOf  : " + TimeoutPolicy.INFINITY.valueOf() ) ;

trace( TimeoutPolicy.LIMIT ) ;
trace( "limit : " + TimeoutPolicy.LIMIT ) ;
trace( "toString : " + TimeoutPolicy.LIMIT.toString() ) ;
trace( "valueOf  : " + TimeoutPolicy.LIMIT.valueOf() ) ;

Extends

Members


<static, constant> INFINITY :system.process.TimeoutPolicy

Designates the infinity timeout policy (0).

Type:

<static, constant> LIMIT :system.process.TimeoutPolicy

Designates the limited timeout policy (1).

Type: