Uređivanje

Dijeli putem


MethodReturnMessageWrapper Class

Definition

Implements the IMethodReturnMessage interface to create a message that acts as a response to a method 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 MethodReturnMessageWrapper : System::Runtime::Remoting::Messaging::InternalMessageWrapper, System::Runtime::Remoting::Messaging::IMethodReturnMessage
public class MethodReturnMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodReturnMessage
[System.Runtime.InteropServices.ComVisible(true)]
public class MethodReturnMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodReturnMessage
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class MethodReturnMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodReturnMessage
type MethodReturnMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodReturnMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
type MethodReturnMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodReturnMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type MethodReturnMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodReturnMessage
    interface IMethodMessage
    interface IMessage
Public Class MethodReturnMessageWrapper
Inherits InternalMessageWrapper
Implements IMethodReturnMessage
Inheritance
MethodReturnMessageWrapper
Attributes
Implements

Remarks

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

The MethodReturnMessageWrapper class wraps remoting data for passing between message sinks. A remoting server sends a MethodReturnMessageWrapper message to a client in response to a client request.

Constructors

MethodReturnMessageWrapper(IMethodReturnMessage)

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

Wraps an IMethodReturnMessage to create a MethodReturnMessageWrapper.

Fields

WrappedMessage

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

Represents the request or response IMethodMessage interface that is wrapped by the message wrapper.

(Inherited from InternalMessageWrapper)

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.

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.

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.

HasVarArgs

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

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

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.

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.

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.

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.

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

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

Properties

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.

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.

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.

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.

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.

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.

GetHashCode()

Serves as the default hash function.

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

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.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also