RemotingServices.GetMethodBaseFromMethodMessage(IMethodMessage) Metoda

Definicja

Zwraca bazę metod z podanego IMethodMessageelementu .

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

Komunikat metody wyodrębniania podstawy metody.

Zwraca

MethodBase

Baza metody wyodrębniona z parametru msg .

Atrybuty

Wyjątki

Bezpośredni obiekt wywołujący nie ma uprawnień do infrastruktury lub co najmniej jeden z wywołujących wyżej w stosie wywołań nie ma uprawnień do pobierania informacji o typie elementów członkowskich innych niż publiczne.

Uwagi

Określa bazę metod z TypeNamewłaściwości , MethodNamei MethodSignature IMethodMessage i jest używany przez klasy implementowania interfejsu IMethodMessage . IMethodMessage Odbiorcy klas powinni odwoływać się do IMethodMessage.MethodBase właściwości .

Dotyczy