This documentation is archived and is not being maintained.

RemotingServices.GetMethodBaseFromMethodMessage Method

Returns the method base from the given IMethodMessage.

[Visual Basic]
Public Shared Function GetMethodBaseFromMethodMessage( _
   ByVal msg As IMethodMessage _
) As MethodBase
public static MethodBase GetMethodBaseFromMethodMessage(
 IMethodMessage msg
public: static MethodBase* GetMethodBaseFromMethodMessage(
 IMethodMessage* msg
public static function GetMethodBaseFromMethodMessage(
   msg : IMethodMessage
) : MethodBase;


The method message to extract the method base from.

Return Value

The method base extracted from the msg parameter.


Exception Type Condition
SecurityException Either the immediate caller does not have infrastructure permission, or at least one of the callers higher in the callstack does not have permission to retrieve the type information of non-public members.


This determines the method base from the TypeName, MethodName, and MethodSignature properties of IMethodMessage and is used by classes implementing the IMethodMessage interface. Consumers of IMethodMessage classes should reference the IMethodMessage.MethodBase property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

RemotingServices Class | RemotingServices Members | System.Runtime.Remoting Namespace