ConstructionCall 类

定义

重要

此 API 不符合 CLS。

Implements the IConstructionCallMessage interface to create a request message that constitutes a constructor call on a remote object.Implements the IConstructionCallMessage interface to create a request message that constitutes a constructor call on a remote object.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class ConstructionCall : System::Runtime::Remoting::Messaging::MethodCall, System::Runtime::Remoting::Activation::IConstructionCallMessage
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
[System.Serializable]
public class ConstructionCall : System.Runtime.Remoting.Messaging.MethodCall, System.Runtime.Remoting.Activation.IConstructionCallMessage
type ConstructionCall = class
    inherit MethodCall
    interface IConstructionCallMessage
    interface IMessage
    interface IMethodCallMessage
    interface IMethodMessage
Public Class ConstructionCall
Inherits MethodCall
Implements IConstructionCallMessage
继承
ConstructionCall
属性
实现

注解

ConstructionCall类由 .NET Framework 的远程处理基础结构使用。The ConstructionCall class is used by the remoting infrastructure of the .NET Framework. 不需要直接创建ConstructionCall类的实例, 而是IConstructionCallMessage使用接口。You do not need to create an instance of the ConstructionCall class directly; instead, use the IConstructionCallMessage interface.

当尝试创建客户端ConstructionCall激活的远程类的实例时, 远程处理客户端向服务器发送一条消息。A remoting client sends a ConstructionCall message to a server when attempting to create an instance of a client-activated remote class.

构造函数

ConstructionCall(Header[])

Initializes a new instance of the ConstructionCall class from an array of remoting headers.Initializes a new instance of the ConstructionCall class from an array of remoting headers.

ConstructionCall(IMessage)

Initializes a new instance of the ConstructionCall class by copying an existing message.Initializes a new instance of the ConstructionCall class by copying an existing message.

字段

ExternalProperties

表示远程处理消息属性集合的 IDictionary 接口。An IDictionary interface that represents a collection of the remoting message's properties.

(继承自 MethodCall)
InternalProperties

表示远程处理消息属性集合的 IDictionary 接口。An IDictionary interface that represents a collection of the remoting message's properties.

(继承自 MethodCall)

属性

ActivationType

Gets the type of the remote object to activate.Gets the type of the remote object to activate.

ActivationTypeName

Gets the full type name of the remote object to activate.Gets the full type name of the remote object to activate.

Activator

Gets or sets the activator that activates the remote object.Gets or sets the activator that activates the remote object.

ArgCount

获取传递给某方法的参数的数目。Gets the number of arguments passed to a method.

(继承自 MethodCall)
Args

获取传递给方法的参数数组。Gets an array of arguments passed to a method.

(继承自 MethodCall)
CallSiteActivationAttributes

Gets the call site activation attributes for the remote object.Gets the call site activation attributes for the remote object.

ContextProperties

Gets a list of properties that define the context in which the remote object is to be created.Gets a list of properties that define the context in which the remote object is to be created.

HasVarArgs

获取一个值,该值指示该方法是否接受数目可变的参数。Gets a value that indicates whether the method can accept a variable number of arguments.

(继承自 MethodCall)
InArgCount

获取方法调用中未标记为 out 参数的参数数目。Gets the number of arguments in the method call that are not marked as out parameters.

(继承自 MethodCall)
InArgs

获取方法调用中未标记为 out 参数的一组参数。Gets an array of arguments in the method call that are not marked as out parameters.

(继承自 MethodCall)
LogicalCallContext

获取当前方法调用的 LogicalCallContextGets the LogicalCallContext for the current method call.

(继承自 MethodCall)
MethodBase

获取被调用方法的 MethodBaseGets the MethodBase of the called method.

(继承自 MethodCall)
MethodName

获取被调用方法的名称。Gets the name of the invoked method.

(继承自 MethodCall)
MethodSignature

获取包含方法签名的对象。Gets an object that contains the method signature.

(继承自 MethodCall)
Properties

Gets an IDictionary interface that represents a collection of the remoting message's properties.Gets an IDictionary interface that represents a collection of the remoting message's properties.

TypeName

获取在其上进行方法调用的远程对象的完整类型名称。Gets the full type name of the remote object on which the method call is being made.

(继承自 MethodCall)
Uri

获取或设置在其上进行方法调用的远程对象的统一资源标识符 (URI)。Gets or sets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made.

(继承自 MethodCall)

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetArg(Int32)

获取指定索引处作为对象的方法参数。Gets a method argument, as an object, at a specified index.

(继承自 MethodCall)
GetArgName(Int32)

获取指定索引处的方法参数的名称。Gets the name of a method argument at a specified index.

(继承自 MethodCall)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetInArg(Int32)

获取指定索引处未标记为 out 参数的方法参数。Gets a method argument at a specified index that is not marked as an out parameter.

(继承自 MethodCall)
GetInArgName(Int32)

获取指定索引处未标记为 out 参数的方法参数的名称。Gets the name of a method argument at a specified index that is not marked as an out parameter.

(继承自 MethodCall)
GetObjectData(SerializationInfo, StreamingContext)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
HeaderHandler(Header[])

从应用到一个方法的远程处理标头数组初始化一个内部序列化处理程序。Initializes an internal serialization handler from an array of remoting headers that are applied to a method.

(继承自 MethodCall)
Init()

初始化一个 MethodCallInitializes a MethodCall.

(继承自 MethodCall)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ResolveMethod()

从先前初始化的远程处理消息属性设置方法信息。Sets method information from previously initialized remoting message properties.

(继承自 MethodCall)
RootSetObjectData(SerializationInfo, StreamingContext)

从序列化设置来设置方法信息。Sets method information from serialization settings.

(继承自 MethodCall)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅