套件 | 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 | ||
[覆寫]
Clones the MessageEvent. | MessageEvent | ||
[靜態]
Given a fault, this function constructs and
returns a ColdFusionServiceFaultEvent. | ColdFusionServiceFaultEvent | ||
[靜態]
Given a MessageFaultEvent, this method constructs and
returns a FaultEvent. | FaultEvent | ||
公用程式函數,可用來實作自訂 ActionScript 3.0 Event 類別中的 toString() 方法。 | Event | ||
指出物件是否有已定義的指定屬性。 | Object | ||
檢查是否已經對事件呼叫 preventDefault() 方法。 | Event | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
如果可以取消事件的預設行為指令,則取消該行為指令。 | Event | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
避免處理事件流程中,目前節點以及任何後續節點中的任何事件偵聽程式。 | Event | ||
避免處理接續在事件流程中的目前節點之後,後續節點中的任何事件偵聽程式。 | Event | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
[覆寫]
Returns a string representation of the 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, 03:47 PM Z