Export (0) Print
Expand All

ConstructionResponse Class

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

Implements the IConstructionReturnMessage interface to create a message that responds to a call to instantiate a remote object.

This API is not CLS-compliant. 

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

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.Infrastructure)]
public class ConstructionResponse : MethodResponse, 
	IConstructionReturnMessage, IMethodReturnMessage, IMethodMessage, IMessage

The ConstructionResponse type exposes the following members.

  NameDescription
Public methodConstructionResponseInfrastructure. Initializes a new instance of the ConstructionResponse class from an array of remoting headers and a request message.
Top

  NameDescription
Public propertyArgCountInfrastructure. Gets the number of arguments passed to the method. (Inherited from MethodResponse.)
Public propertyArgsInfrastructure. Gets an array of arguments passed to the method. (Inherited from MethodResponse.)
Public propertyExceptionInfrastructure. Gets the exception thrown during the method call, or null if the method did not throw an exception. (Inherited from MethodResponse.)
Public propertyHasVarArgsInfrastructure. Gets a value that indicates whether the method can accept a variable number of arguments. (Inherited from MethodResponse.)
Public propertyLogicalCallContextInfrastructure. Gets the LogicalCallContext for the current method call. (Inherited from MethodResponse.)
Public propertyMethodBaseInfrastructure. Gets the MethodBase of the called method. (Inherited from MethodResponse.)
Public propertyMethodNameInfrastructure. Gets the name of the invoked method. (Inherited from MethodResponse.)
Public propertyMethodSignatureInfrastructure. Gets an object that contains the method signature. (Inherited from MethodResponse.)
Public propertyOutArgCountInfrastructure. Gets the number of arguments in the method call marked as ref or out parameters. (Inherited from MethodResponse.)
Public propertyOutArgsInfrastructure. Gets an array of arguments in the method call that are marked as ref or out parameters. (Inherited from MethodResponse.)
Public propertyPropertiesInfrastructure. Gets an IDictionary interface that represents a collection of the remoting message's properties. (Overrides MethodResponse.Properties.)
Public propertyReturnValueInfrastructure. Gets the return value of the method call. (Inherited from MethodResponse.)
Public propertyTypeNameInfrastructure. Gets the full type name of the remote object on which the method call is being made. (Inherited from MethodResponse.)
Public propertyUriInfrastructure. Gets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made. (Inherited from MethodResponse.)
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 MethodResponse.)
Public methodGetArgNameInfrastructure. Gets the name of a method argument at a specified index. (Inherited from MethodResponse.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetObjectDataInfrastructure. The GetObjectData method is not implemented. (Inherited from MethodResponse.)
Public methodGetOutArgInfrastructure. Returns the specified argument marked as a ref parameter or an out parameter. (Inherited from MethodResponse.)
Public methodGetOutArgNameInfrastructure. Returns the name of the specified argument marked as a ref parameter or an out parameter. (Inherited from MethodResponse.)
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 MethodResponse.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRootSetObjectDataInfrastructure. Sets method information from serialization settings. (Inherited from MethodResponse.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

A ConstructionResponse object returns the result of a construction request sent with the IConstructionCallMessage interface.

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

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.

Community Additions

ADD
Show:
© 2015 Microsoft