Share via


ConstructionResponse 类

此类支持 .NET 基础结构,但不适合在代码中直接使用。

实现 IConstructionReturnMessage 接口以创建一个消息,该消息对实例化远程对象的调用做出响应。

此类不符合 CLS。 

**命名空间:**System.Runtime.Remoting.Messaging
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
<SerializableAttribute> _
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class ConstructionResponse
    Inherits MethodResponse
    Implements IConstructionReturnMessage, IMethodReturnMessage, IMethodMessage, IMessage
用法
Dim instance As ConstructionResponse
[SerializableAttribute] 
[CLSCompliantAttribute(false)] 
[ComVisibleAttribute(true)] 
public class ConstructionResponse : MethodResponse, IConstructionReturnMessage, IMethodReturnMessage, IMethodMessage, 
    IMessage
[SerializableAttribute] 
[CLSCompliantAttribute(false)] 
[ComVisibleAttribute(true)] 
public ref class ConstructionResponse : public MethodResponse, IConstructionReturnMessage, IMethodReturnMessage, IMethodMessage, 
    IMessage
/** @attribute SerializableAttribute() */ 
/** @attribute CLSCompliantAttribute(false) */ 
/** @attribute ComVisibleAttribute(true) */ 
public class ConstructionResponse extends MethodResponse implements IConstructionReturnMessage, IMethodReturnMessage, 
    IMethodMessage, IMessage
SerializableAttribute 
CLSCompliantAttribute(false) 
ComVisibleAttribute(true) 
public class ConstructionResponse extends MethodResponse implements IConstructionReturnMessage, IMethodReturnMessage, 
    IMethodMessage, IMessage

备注

ConstructionResponse 对象返回使用 IConstructionCallMessage 接口发送的构造请求的结果。

ConstructionResponse 类由 .NET Framework 的远程处理基础结构使用。不必直接创建 ConstructionResponse 类的实例,可改用 IConstructionReturnMessage 接口。

继承层次结构

System.Object
   System.Runtime.Remoting.Messaging.MethodResponse
    System.Runtime.Remoting.Messaging.ConstructionResponse

线程安全

此类型的任何公共静态(Visual Basic 中的 Shared)成员都是线程安全的,但不保证所有实例成员都是线程安全的。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

ConstructionResponse 成员
System.Runtime.Remoting.Messaging 命名空间
IConstructionReturnMessage 接口
IMethodReturnMessage
IMethodMessage
IMessage