Sdílet prostřednictvím


RemotingServices.GetMethodBaseFromMethodMessage(IMethodMessage) Metoda

Definice

Vrátí základ metody z dané IMethodMessagemetody .

public:
 static System::Reflection::MethodBase ^ GetMethodBaseFromMethodMessage(System::Runtime::Remoting::Messaging::IMethodMessage ^ msg);
public static System.Reflection.MethodBase GetMethodBaseFromMethodMessage(System.Runtime.Remoting.Messaging.IMethodMessage msg);
[System.Security.SecurityCritical]
public static System.Reflection.MethodBase GetMethodBaseFromMethodMessage(System.Runtime.Remoting.Messaging.IMethodMessage msg);
static member GetMethodBaseFromMethodMessage : System.Runtime.Remoting.Messaging.IMethodMessage -> System.Reflection.MethodBase
[<System.Security.SecurityCritical>]
static member GetMethodBaseFromMethodMessage : System.Runtime.Remoting.Messaging.IMethodMessage -> System.Reflection.MethodBase
Public Shared Function GetMethodBaseFromMethodMessage (msg As IMethodMessage) As MethodBase

Parametry

msg
IMethodMessage

Zpráva metody pro extrakci základu metody z.

Návraty

Základ metody extrahovaný z parametru msg .

Atributy

Výjimky

Buď bezprostřední volající nemá oprávnění k infrastruktuře, nebo alespoň jeden z volajících, kteří jsou ve volání vyšší, nemá oprávnění k načtení informací o typu neveřejných členů.

Poznámky

To určuje metodu základ z TypeName, MethodNamea vlastnosti IMethodMessage a MethodSignature je používán třídami implementují IMethodMessage rozhraní. IMethodMessage Příjemci tříd by měli odkazovat na IMethodMessage.MethodBase vlastnost.

Platí pro