包 | com.adobe.gravity.utility.flex.async |
类 | public class AsyncTokenWrapper |
继承 | AsyncTokenWrapper Object |
实现 | IToken |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
运行时版本: | AIR 1.1, Flash Player 9 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | AsyncTokenWrapper | ||
Add a handler to be called if the operation fails. | AsyncTokenWrapper | ||
Add a handler to be called if the operation succeeds. | AsyncTokenWrapper | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Remove a fault handler. | AsyncTokenWrapper | ||
Remove a success handler. | AsyncTokenWrapper | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
构造函数详细信息
AsyncTokenWrapper | () | 构造函数 |
public function AsyncTokenWrapper(asyncToken:mx.rpc:AsyncToken, resultObject:Object = null)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
运行时版本: | AIR 1.1, Flash Player 9 |
Constructor.
参数asyncToken:mx.rpc:AsyncToken — The AsyncToken to adapt into an IToken.
| |
resultObject:Object (default = null ) — The result object to return to the IToken success handler, overriding the default result object typically retrieved from the ResultEvent.
|
方法详细信息
addFaultHandler | () | 方法 |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
运行时版本: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation fails.
参数
handler:Function — A function to be called if the operation fails.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
addSuccessHandler | () | 方法 |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
运行时版本: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation succeeds.
参数
handler:Function — A function to be called if the operation succeeds.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
removeFaultHandler | () | 方法 |
removeSuccessHandler | () | 方法 |
Tue Jun 12 2018, 11:04 AM Z