包 | coldfusion.service.events |
类 | public class ColdFusionServiceFaultEvent |
继承 | ColdFusionServiceFaultEvent FaultEvent AbstractEvent MessageEvent Event Object |
语言版本: | ActionScript 3.0 |
产品版本: | ColdFusion 9 |
运行时版本: | Flash Player 9, AIR 1.0 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
ColdFusionServiceFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, fault:Fault = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)
Creates a ColdFusionServiceFaultEvent object that contains information about
ColdFusion service errors. | ColdFusionServiceFaultEvent | ||
[覆盖]
克隆 MessageEvent。 | MessageEvent | ||
[静态]
Given a fault, this function constructs and
returns a ColdFusionServiceFaultEvent. | ColdFusionServiceFaultEvent | ||
[静态]
如果给定一个 MessageFaultEvent,则此方法构造并返回一个 FaultEvent。 | FaultEvent | ||
用于在自定义 ActionScript 3.0 Event 类中实现 toString() 方法的实用程序函数。 | Event | ||
表示对象是否已经定义了指定的属性。 | Object | ||
检查是否已对事件调用 preventDefault() 方法。 | Event | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
如果可以取消事件的默认行为,则取消该行为。 | Event | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
防止对事件流中当前节点中和所有后续节点中的事件侦听器进行处理。 | Event | ||
防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 | Event | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
[覆盖]
返回 FaultEvent 的字符串表示形式。 | FaultEvent | ||
返回指定对象的原始值。 | Object |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
FAULT : String = "fault" [静态]
Defines the value of the Type property of a ColdFusionServiceFaultEvent object. | ColdFusionServiceFaultEvent |
构造函数详细信息
ColdFusionServiceFaultEvent | () | 构造函数 |
public function ColdFusionServiceFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, fault:Fault = null, token:mx.rpc:AsyncToken = null, message:IMessage = null)
语言版本: | ActionScript 3.0 |
产品版本: | ColdFusion 9 |
运行时版本: | Flash Player 9, AIR 1.0 |
Creates a ColdFusionServiceFaultEvent object that contains information about ColdFusion service errors.
参数type:String — The type of the event. Event listeners can access this information through the inherited
type property.
| |
bubbles:Boolean (default = false ) — Determines whether the Event object participates in the bubbling phase of the event flow.
| |
cancelable:Boolean (default = true ) — Determines whether the Event object can be canceled.
Event listeners can access this information through the inherited cancelable property.
| |
fault:Fault (default = null ) — Object that holds details of the fault, including a faultCode and faultString.
| |
token:mx.rpc:AsyncToken (default = null ) — Token representing the call to the method. Used in the asynchronous completion token pattern.
| |
message:IMessage (default = null ) — Source Message of the fault.
|
方法详细信息
createEvent | () | 方法 |
public static function createEvent(fault:Fault, token:mx.rpc:AsyncToken, message:IMessage):ColdFusionServiceFaultEvent
语言版本: | ActionScript 3.0 |
产品版本: | ColdFusion 9 |
运行时版本: | Flash Player 9, AIR 1.0 |
Given a fault, this function constructs and returns a ColdFusionServiceFaultEvent.
参数
fault:Fault — Fault that contains the details of the FaultEvent.
| |
token:mx.rpc:AsyncToken — AsyncTokAsyncToken en [optional] associated with this fault.
| |
message:IMessage |
ColdFusionServiceFaultEvent |
常量详细信息
FAULT | 常量 |
public static const FAULT:String = "fault"
语言版本: | ActionScript 3.0 |
产品版本: | ColdFusion 9 |
运行时版本: | Flash Player 9, AIR 1.0 |
Defines the value of the Type
property of a ColdFusionServiceFaultEvent object.
Tue Jun 12 2018, 11:04 AM Z