| 包 | com.adobe.ep.taskmanagement.util | 
| 接口 | public interface IToken | 
| 实现器 | Token | 
| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 | 
| 运行时版本: | AIR 2.6, Flash Player 10.2 | 
Token class provides a mechanism to specify handlers for asynchronous calls.
	 Usually, result handlers take a single parameter of type TaskManagerEvent (or a subclass)
	 and fault handlers take a single parameter of type TaskManagerFaultEvent (or a subclass).
	 
     公共方法 
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
 
		 Adds a fault handler for this asynchronous invocation.  | IToken | ||
 
		 Adds a result and fault handler for this asynchronous invocation.  | IToken | ||
		 Adds an object to handle the result or failure for an asynchronous invocation.  | IToken | ||
 
		 Adds a result handler for this asynchronous invocation.  | IToken | ||
 
		 Calls all the fault handlers.  | IToken | ||
		 Calls all the result handlers.  | IToken | ||
方法详细信息
addFaultHandler | () | 方法 | 
 public function addFaultHandler(handler:Function):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 | 
| 运行时版本: | AIR 2.6, Flash Player 10.2 | 
Adds a fault handler for this asynchronous invocation.
参数
handler:Function — Specifies a function that is called when the asynchronous call fails.
		 
 	  	  | 
addHandlers | () | 方法 | 
 public function addHandlers(resultHandler:Function, faultHandler:Function):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 | 
| 运行时版本: | AIR 2.6, Flash Player 10.2 | 
Adds a result and fault handler for this asynchronous invocation.
参数
resultHandler:Function — Specifies the function that is called when the asynchronous call completes.
		  | |
faultHandler:Function — Specifies athefunction that is called when the asynchronous call fails.
		 
 	  	  | 
addResponder | () | 方法 | 
 public function addResponder(responder:IResponder):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 | 
| 运行时版本: | AIR 2.6, Flash Player 10.2 | 
Adds an object to handle the result or failure for an asynchronous invocation.
参数
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle 
		                  the asynchronous result or failure.
		 
		  | 
addResultHandler | () | 方法 | 
 public function addResultHandler(handler:Function):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 | 
| 运行时版本: | AIR 2.6, Flash Player 10.2 | 
Adds a result handler for this asynchronous invocation.
参数
handler:Function — Specifies a function that is called when the asynchronous call completes.
		 
 	  	  | 
callFaultHandlers | () | 方法 | 
callResultHandlers | () | 方法 | 
Tue Jun 12 2018, 11:04 AM Z