Szerkesztés

Megosztás a következőn keresztül:


ConstructionResponse Class

Definition

Important

This API is not CLS-compliant.

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

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

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

Remarks

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.

Constructors

ConstructionResponse(Header[], IMethodCallMessage)

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

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

Fields

ExternalProperties

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

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

(Inherited from MethodResponse)
InternalProperties

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

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

(Inherited from MethodResponse)

Properties

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 the method.

(Inherited from MethodResponse)
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 the method.

(Inherited from MethodResponse)
Exception

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

Gets the exception thrown during the method call, or null if the method did not throw an exception.

(Inherited from MethodResponse)
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 MethodResponse)
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 MethodResponse)
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 MethodResponse)
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 MethodResponse)
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 MethodResponse)
OutArgCount

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 marked as ref or out parameters.

(Inherited from MethodResponse)
OutArgs

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 marked as ref or out parameters.

(Inherited from MethodResponse)
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.

ReturnValue

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

Gets the return value of the method call.

(Inherited from MethodResponse)
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 MethodResponse)
Uri

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

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

(Inherited from MethodResponse)

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 MethodResponse)
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 MethodResponse)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
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 MethodResponse)
GetOutArg(Int32)

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

Returns the specified argument marked as a ref parameter or an out parameter.

(Inherited from MethodResponse)
GetOutArgName(Int32)

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

Returns the name of the specified argument marked as a ref parameter or an out parameter.

(Inherited from MethodResponse)
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 MethodResponse)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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 MethodResponse)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also