System.Runtime.Remoting.Messaging.IMethodReturnMessage.OutArgs Property

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

Syntax

public object[] OutArgs { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Although the IMethodReturnMessage.OutArgs property is redundant since the same functionality can be achieved through the IMethodReturnMessage.OutArgCount field and IMethodReturnMessage.GetOutArg(int) method, there might be performance optimization available if the implementer understands when all the arguments will be retrieved.

Note:

If IMethodReturnMessage.Exception is not null, a IndexOutOfRange exception is thrown when IMethodReturnMessage.OutArgs is accessed.

Requirements

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0