ConstructionCall Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

This API is not CLS-compliant. 

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

Namespace:  System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class ConstructionCall : MethodCall, 
	IConstructionCallMessage, IMethodCallMessage, IMethodMessage, IMessage

The ConstructionCall type exposes the following members.

  NameDescription
Public methodConstructionCall(Header[])Infrastructure. Initializes a new instance of the ConstructionCall class from an array of remoting headers.
Public methodConstructionCall(IMessage)Infrastructure. Initializes a new instance of the ConstructionCall class by copying an existing message.
Top

  NameDescription
Public propertyActivationTypeInfrastructure. Gets the type of the remote object to activate.
Public propertyActivationTypeNameInfrastructure. Gets the full type name of the remote object to activate.
Public propertyActivatorInfrastructure. Gets or sets the activator that activates the remote object.
Public propertyArgCountInfrastructure. Gets the number of arguments passed to a method. (Inherited from MethodCall.)
Public propertyArgsInfrastructure. Gets an array of arguments passed to a method. (Inherited from MethodCall.)
Public propertyCallSiteActivationAttributesInfrastructure. Gets the call site activation attributes for the remote object.
Public propertyContextPropertiesInfrastructure. Gets a list of properties that define the context in which the remote object is to be created.
Public propertyHasVarArgsInfrastructure. Gets a value that indicates whether the method can accept a variable number of arguments. (Inherited from MethodCall.)
Public propertyInArgCountInfrastructure. Gets the number of arguments in the method call that are not marked as out parameters. (Inherited from MethodCall.)
Public propertyInArgsInfrastructure. Gets an array of arguments in the method call that are not marked as out parameters. (Inherited from MethodCall.)
Public propertyLogicalCallContextInfrastructure. Gets the LogicalCallContext for the current method call. (Inherited from MethodCall.)
Public propertyMethodBaseInfrastructure. Gets the MethodBase of the called method. (Inherited from MethodCall.)
Public propertyMethodNameInfrastructure. Gets the name of the invoked method. (Inherited from MethodCall.)
Public propertyMethodSignatureInfrastructure. Gets an object that contains the method signature. (Inherited from MethodCall.)
Public propertyPropertiesInfrastructure. Gets an IDictionary interface that represents a collection of the remoting message's properties. (Overrides MethodCall.Properties.)
Public propertyTypeNameInfrastructure. Gets the full type name of the remote object on which the method call is being made. (Inherited from MethodCall.)
Public propertyUriInfrastructure. Gets or sets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made. (Inherited from MethodCall.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetArgInfrastructure. Gets a method argument, as an object, at a specified index. (Inherited from MethodCall.)
Public methodGetArgNameInfrastructure. Gets the name of a method argument at a specified index. (Inherited from MethodCall.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetInArgInfrastructure. Gets a method argument at a specified index that is not marked as an out parameter. (Inherited from MethodCall.)
Public methodGetInArgNameInfrastructure. Gets the name of a method argument at a specified index that is not marked as an out parameter. (Inherited from MethodCall.)
Public methodGetObjectDataInfrastructure. The GetObjectData method is not implemented. (Inherited from MethodCall.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHeaderHandlerInfrastructure. Initializes an internal serialization handler from an array of remoting headers that are applied to a method. (Inherited from MethodCall.)
Public methodInitInfrastructure. Initializes a MethodCall. (Inherited from MethodCall.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResolveMethodInfrastructure. Sets method information from previously initialized remoting message properties. (Inherited from MethodCall.)
Public methodRootSetObjectDataInfrastructure. Sets method information from serialization settings. (Inherited from MethodCall.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected fieldExternalPropertiesInfrastructure. An IDictionary interface that represents a collection of the remoting message's properties. (Inherited from MethodCall.)
Protected fieldInternalPropertiesInfrastructure. An IDictionary interface that represents a collection of the remoting message's properties. (Inherited from MethodCall.)
Top

The ConstructionCall class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the ConstructionCall class directly; instead, use the IConstructionCallMessage interface.

A remoting client sends a ConstructionCall message to a server when attempting to create an instance of a client-activated remote class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft