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 接口发送的构造请求的结果。
.NET框架的远程处理基础结构使用 ConstructionResponse 类。 无需直接创建类的 ConstructionResponse 实例;而是使用 IConstructionReturnMessage 接口。
构造函数
| 名称 | 说明 |
|---|---|
| ConstructionResponse(Header[], IMethodCallMessage) |
此 API 支持产品基础结构,不能在代码中直接使用。 从远程处理标头数组和请求消息初始化类的新实例 ConstructionResponse 。 |
字段
| 名称 | 说明 |
|---|---|
| ExternalProperties |
此 API 支持产品基础结构,不能在代码中直接使用。 指定表示 IDictionary 远程处理消息属性的集合的接口。 (继承自 MethodResponse) |
| InternalProperties |
此 API 支持产品基础结构,不能在代码中直接使用。 指定表示 IDictionary 远程处理消息属性的集合的接口。 (继承自 MethodResponse) |
属性
| 名称 | 说明 |
|---|---|
| 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) |
方法
| 名称 | 说明 |
|---|---|
| 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) |