Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RemotingServices.GetMethodBaseFromMethodMessage Method

Returns the method base from the given IMethodMessage.

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

Parameters

msg
The method message to extract the method base from.

Return Value

The method base extracted from the msg parameter.

Exceptions

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.

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft