GetArgName Method
Collapse the table of content
Expand the table of content

IMethodMessage.GetArgName Method (Int32)


Gets the name of the argument passed to the method.

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

string GetArgName(
	int index


Type: System.Int32

The number of the requested argument.

Return Value

Type: System.String

The name of the specified argument passed to the method, or null if the current method is not implemented.

Exception Condition

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


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

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft