ConstructionCall 类

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

实现 IConstructionCallMessage 接口以创建一条请求消息,该消息构成远程对象上的构造函数调用。

此类不符合 CLS。 

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

语法

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

备注

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

当试图创建客户端激活的远程类的实例时,远程处理客户端将一条 ConstructionCall 消息发送到服务器。

继承层次结构

System.Object
   System.Runtime.Remoting.Messaging.MethodCall
    System.Runtime.Remoting.Messaging.ConstructionCall

线程安全

此类型的任何公共静态(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

请参见

参考

ConstructionCall 成员
System.Runtime.Remoting.Messaging 命名空间
IConstructionCallMessage 接口
IMethodCallMessage
IMethodMessage
IMessage