ReturnMessage Constructor (Object, Object[], Int32, LogicalCallContext, IMethodCallMessage)

 

Initializes a new instance of the ReturnMessage class with all the information returning to the caller after the method call.

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

[SecurityCriticalAttribute]
public ReturnMessage(
	object ret,
	object[] outArgs,
	int outArgsCount,
	LogicalCallContext callCtx,
	IMethodCallMessage mcm
)

Parameters

ret
Type: System.Object

The object returned by the invoked method from which the current ReturnMessage instance originated.

outArgs
Type: System.Object[]

The objects returned from the invoked method as out parameters.

outArgsCount
Type: System.Int32

The number of out parameters returned from the invoked method.

callCtx
Type: System.Runtime.Remoting.Messaging.LogicalCallContext

The LogicalCallContext of the method call.

mcm
Type: System.Runtime.Remoting.Messaging.IMethodCallMessage

The original method call to the invoked method.

.NET Framework
Available since 1.1
Return to top
Show: