ConstructionResponse 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
實 IConstructionReturnMessage 作介面以產生回應呼叫以實例化遠端物件的訊息。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public ref class ConstructionResponse : System::Runtime::Remoting::Messaging::MethodResponse, System::Runtime::Remoting::Activation::IConstructionReturnMessage
[System.CLSCompliant(false)]
[System.Serializable]
public class ConstructionResponse : System.Runtime.Remoting.Messaging.MethodResponse, System.Runtime.Remoting.Activation.IConstructionReturnMessage
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class ConstructionResponse : System.Runtime.Remoting.Messaging.MethodResponse, System.Runtime.Remoting.Activation.IConstructionReturnMessage
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class ConstructionResponse : System.Runtime.Remoting.Messaging.MethodResponse, System.Runtime.Remoting.Activation.IConstructionReturnMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type ConstructionResponse = class
inherit MethodResponse
interface IConstructionReturnMessage
interface IMethodReturnMessage
interface IMethodMessage
interface IMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ConstructionResponse = class
inherit MethodResponse
interface IConstructionReturnMessage
interface IMethodReturnMessage
interface IMethodMessage
interface IMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type ConstructionResponse = class
inherit MethodResponse
interface IConstructionReturnMessage
interface IMethodReturnMessage
interface IMethodMessage
interface IMessage
Public Class ConstructionResponse
Inherits MethodResponse
Implements IConstructionReturnMessage
- 繼承
- 屬性
- 實作
備註
物件 ConstructionResponse 會回傳與介面一 IConstructionCallMessage 同發送的建構請求結果。
ConstructionResponse 類別被 .NET 框架的遠端基礎設施所使用。 你不需要直接建立類別的實例 ConstructionResponse ;而是直接使用 IConstructionReturnMessage 介面。
建構函式
| 名稱 | Description |
|---|---|
| ConstructionResponse(Header[], IMethodCallMessage) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 從一組遠端標頭陣列和請求訊息初始化該 ConstructionResponse 類別的新實例。 |
欄位
| 名稱 | Description |
|---|---|
| ExternalProperties |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 指定 IDictionary 一個介面,代表遠端訊息屬性的集合。 (繼承來源 MethodResponse) |
| InternalProperties |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 指定 IDictionary 一個介面,代表遠端訊息屬性的集合。 (繼承來源 MethodResponse) |
屬性
| 名稱 | Description |
|---|---|
| ArgCount |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得傳入方法的參數數。 (繼承來源 MethodResponse) |
| Args |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會接收一組參數傳入方法。 (繼承來源 MethodResponse) |
| Exception |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 在方法呼叫時會拋出例外,或 |
| HasVarArgs |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會得到一個值,表示該方法是否能接受可變數量的參數。 (繼承來源 MethodResponse) |
| LogicalCallContext |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會取得目前方法呼叫的 。LogicalCallContext (繼承來源 MethodResponse) |
| MethodBase |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得被調用方法的 。MethodBase (繼承來源 MethodResponse) |
| MethodName |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會獲得所調用方法的名稱。 (繼承來源 MethodResponse) |
| MethodSignature |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會取得包含方法簽名的物件。 (繼承來源 MethodResponse) |
| OutArgCount |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得標記為 |
| OutArgs |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 在方法呼叫中取得一組標示為 |
| Properties |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 會得到 IDictionary 一個介面,代表遠端訊息屬性的集合。 |
| ReturnValue |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得方法呼叫的回傳值。 (繼承來源 MethodResponse) |
| TypeName |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得執行方法呼叫的遠端物件的完整型別名稱。 (繼承來源 MethodResponse) |
| Uri |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得呼叫方法時遠端物件的統一資源識別碼(URI)。 (繼承來源 MethodResponse) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetArg(Int32) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 在指定索引處取得一個方法參數,作為物件。 (繼承來源 MethodResponse) |
| GetArgName(Int32) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得指定索引中方法參數的名稱。 (繼承來源 MethodResponse) |
| GetHashCode() |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 做為預設哈希函式。 (繼承來源 Object) |
| GetObjectData(SerializationInfo, StreamingContext) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 該 GetObjectData(SerializationInfo, StreamingContext) 方法尚未被實作。 (繼承來源 MethodResponse) |
| GetOutArg(Int32) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 回傳標記為 |
| GetOutArgName(Int32) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 回傳指定參數名稱,標記為 |
| GetType() |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 取得目前實例的 Type。 (繼承來源 Object) |
| HeaderHandler(Header[]) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 從套用到方法的遠端標頭陣列初始化內部序列化處理器。 (繼承來源 MethodResponse) |
| MemberwiseClone() |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 建立目前 Object的淺層複本。 (繼承來源 Object) |
| RootSetObjectData(SerializationInfo, StreamingContext) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 從序列化設定中設定方法資訊。 (繼承來源 MethodResponse) |
| ToString() |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 傳回表示目前 物件的字串。 (繼承來源 Object) |