用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
coldfusion.air.events 

SessionFaultEvent  - AS3 CF

coldfusion.air.events
public class SessionFaultEvent
继承SessionFaultEvent Inheritance Event Inheritance Object

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

The Fault Event that is dispatched if an error occurs when accessing the methods of the Session Class.



公共属性
 属性由以下参数定义
 Inheritedbubbles : Boolean
[只读] 表示事件是否为冒泡事件。
Event
 Inheritedcancelable : Boolean
[只读] 表示是否可以阻止与事件相关联的行为。
Event
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 InheritedcurrentTarget : Object
[只读] 当前正在使用某个事件侦听器处理 Event 对象的对象。
Event
  error : Error
The Error Object that holds details of the error.
SessionFaultEvent
  errorSQL : String
The SQL statement used when the error occurred.
SessionFaultEvent
 InheritedeventPhase : uint
[只读] 事件流中的当前阶段。
Event
  sessionToken : coldfusion.air:SessionToken
Token representing the call to the method.
SessionFaultEvent
 Inheritedtarget : Object
[只读] 事件目标。
Event
 Inheritedtype : String
[只读] 事件的类型。
Event
公共方法
 方法由以下参数定义
  
SessionFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, error:Error = null, errorSQL:String = null, sessionToken:coldfusion.air:SessionToken = null)
Creates a SessionFaultEvent object, which contains information about the error that occurs when accessing the methods of the Session Class.
SessionFaultEvent
 Inherited
复制 Event 子类的实例。
Event
  
[静态] Given an error, this function constructs and returns a SessionFaultEvent.
SessionFaultEvent
 Inherited
formatToString(className:String, ... arguments):String
用于在自定义 ActionScript 3.0 Event 类中实现 toString() 方法的实用程序函数。
Event
 Inherited
表示对象是否已经定义了指定的属性。
Object
 Inherited
检查是否已对事件调用 preventDefault() 方法。
Event
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
如果可以取消事件的默认行为,则取消该行为。
Event
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
防止对事件流中当前节点中和所有后续节点中的事件侦听器进行处理。
Event
 Inherited
防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。
Event
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回一个字符串,其中包含 Event 对象的所有属性。
Event
 Inherited
返回指定对象的原始值。
Object
公共常量
 常量由以下参数定义
  FAULT : String = "fault"
[静态] Defines the value of the Type property of a SessionFaultEvent object.
SessionFaultEvent
属性详细信息

error

属性
public var error:Error

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

The Error Object that holds details of the error.

errorSQL

属性 
public var errorSQL:String

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

The SQL statement used when the error occurred.

sessionToken

属性 
public var sessionToken:coldfusion.air:SessionToken

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

Token representing the call to the method. Used in the asynchronous completion token pattern.

构造函数详细信息

SessionFaultEvent

()构造函数
public function SessionFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, error:Error = null, errorSQL:String = null, sessionToken:coldfusion.air:SessionToken = null)

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

Creates a SessionFaultEvent object, which contains information about the error that occurs when accessing the methods of the Session Class.

参数
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.
 
error:Error (default = null) — The Error Object that holds details of the error.
 
errorSQL:String (default = null) — The SQL statement used when the error occurred.
 
sessionToken:coldfusion.air:SessionToken (default = null) — Token representing the call to the method. Used in the asynchronous completion token pattern.
方法详细信息

createEvent

()方法
public static function createEvent(error:Error, errorSQL:String, sessionToken:coldfusion.air:SessionToken):SessionFaultEvent

语言版本: ActionScript 3.0
产品版本: ColdFusion 9
运行时版本: Flash Player 9, AIR 1.0

Given an error, this function constructs and returns a SessionFaultEvent.

参数

error:Error — Error that contains the details of the SessionFaultEvent.
 
errorSQL:String — The SQL statement used when the error occurred.
 
sessionToken:coldfusion.air:SessionToken — SessionToken [optional] associated with this error.

返回
SessionFaultEvent
常量详细信息

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 SessionFaultEvent object.





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。