Επεξεργασία

Κοινή χρήση μέσω


ConstructionCall Class

Definition

Important

This API is not CLS-compliant.

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

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

public ref class ConstructionCall : System::Runtime::Remoting::Messaging::MethodCall, System::Runtime::Remoting::Activation::IConstructionCallMessage
[System.CLSCompliant(false)]
[System.Serializable]
public class ConstructionCall : System.Runtime.Remoting.Messaging.MethodCall, System.Runtime.Remoting.Activation.IConstructionCallMessage
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class ConstructionCall : System.Runtime.Remoting.Messaging.MethodCall, System.Runtime.Remoting.Activation.IConstructionCallMessage
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class ConstructionCall : System.Runtime.Remoting.Messaging.MethodCall, System.Runtime.Remoting.Activation.IConstructionCallMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type ConstructionCall = class
    inherit MethodCall
    interface IConstructionCallMessage
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ConstructionCall = class
    inherit MethodCall
    interface IConstructionCallMessage
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type ConstructionCall = class
    inherit MethodCall
    interface IConstructionCallMessage
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
Public Class ConstructionCall
Inherits MethodCall
Implements IConstructionCallMessage
Inheritance
ConstructionCall
Attributes
Implements

Remarks

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.

Constructors

ConstructionCall(Header[])

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

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

ConstructionCall(IMessage)

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

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

Fields

ExternalProperties

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

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

(Inherited from MethodCall)
InternalProperties

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

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

(Inherited from MethodCall)

Properties

ActivationType

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

Gets the type of the remote object to activate.

ActivationTypeName

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

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

Activator

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

Gets or sets the activator that activates the remote object.

ArgCount

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

Gets the number of arguments passed to a method.

(Inherited from MethodCall)
Args

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

Gets an array of arguments passed to a method.

(Inherited from MethodCall)
CallSiteActivationAttributes

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

Gets the call site activation attributes for the remote object.

ContextProperties

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

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

HasVarArgs

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

Gets a value that indicates whether the method can accept a variable number of arguments.

(Inherited from MethodCall)
InArgCount

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

Gets the number of arguments in the method call that are not marked as out parameters.

(Inherited from MethodCall)
InArgs

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

Gets an array of arguments in the method call that are not marked as out parameters.

(Inherited from MethodCall)
LogicalCallContext

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

Gets the LogicalCallContext for the current method call.

(Inherited from MethodCall)
MethodBase

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

Gets the MethodBase of the called method.

(Inherited from MethodCall)
MethodName

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

Gets the name of the invoked method.

(Inherited from MethodCall)
MethodSignature

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

Gets an object that contains the method signature.

(Inherited from MethodCall)
Properties

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

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

TypeName

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

Gets the full type name of the remote object on which the method call is being made.

(Inherited from MethodCall)
Uri

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

Gets or sets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made.

(Inherited from MethodCall)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetArg(Int32)

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

Gets a method argument, as an object, at a specified index.

(Inherited from MethodCall)
GetArgName(Int32)

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

Gets the name of a method argument at a specified index.

(Inherited from MethodCall)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInArg(Int32)

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

Gets a method argument at a specified index that is not marked as an out parameter.

(Inherited from MethodCall)
GetInArgName(Int32)

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

Gets the name of a method argument at a specified index that is not marked as an out parameter.

(Inherited from MethodCall)
GetObjectData(SerializationInfo, StreamingContext)

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

The GetObjectData(SerializationInfo, StreamingContext) method is not implemented.

(Inherited from MethodCall)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HeaderHandler(Header[])

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

Initializes an internal serialization handler from an array of remoting headers that are applied to a method.

(Inherited from MethodCall)
Init()

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

Initializes a MethodCall.

(Inherited from MethodCall)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveMethod()

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

Sets method information from previously initialized remoting message properties.

(Inherited from MethodCall)
RootSetObjectData(SerializationInfo, StreamingContext)

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

Sets method information from serialization settings.

(Inherited from MethodCall)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also