IMethodReturnMessage::GetOutArg Method (Int32)

 

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

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

[SecurityCriticalAttribute]
Object^ GetOutArg(
	int argNum
)

Parameters

argNum
Type: System::Int32

The number of the requested argument.

Return Value

Type: System::Object^

The specified argument marked as a ref or an out parameter.

Exception Condition
SecurityException

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

SecurityPermission

for operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: