RemotingServices.GetMethodBaseFromMethodMessage(IMethodMessage) Metodo

Definizione

Restituisce la base del metodo per l'oggetto IMethodMessage specificato.

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

Parametri

msg
IMethodMessage

Messaggio del metodo da cui estrarre la base del metodo.

Restituisce

Base del metodo estratta dal parametro msg.

Attributi

Eccezioni

Il chiamante immediato non dispone delle autorizzazioni di infrastruttura oppure almeno uno dei chiamanti nelle posizioni superiori dello stack di chiamate non dispone delle autorizzazioni per recuperare le informazioni relative al tipo di membri non pubblici.

Commenti

Ciò determina la base del metodo dalle TypeNameproprietà , MethodNamee di IMethodMessage e MethodSignature viene utilizzata dalle classi che implementano l'interfaccia IMethodMessage . I consumer di IMethodMessage classi devono fare riferimento alla IMethodMessage.MethodBase proprietà .

Si applica a