Aracılığıyla paylaş


RemotingServices.GetMethodBaseFromMethodMessage(IMethodMessage) Yöntem

Tanım

Verilen IMethodMessage'den yöntem tabanını döndürür.

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

Parametreler

msg
IMethodMessage

Yöntem tabanını ayıklamak için yöntem iletisi.

Döndürülenler

parametresinden msg ayıklanan yöntem tabanı.

Öznitelikler

Özel durumlar

Hemen çağıranın altyapı izni yok veya çağrı yığınında daha yüksek olan arayanlardan en az birinin ortak olmayan üyelerin tür bilgilerini alma izni yok.

Açıklamalar

Bu, ve 'nin , MethodNameve özelliklerinden yöntem tabanını TypeNameIMethodMessage belirler ve arabirimini uygulayan IMethodMessage sınıflar tarafından MethodSignature kullanılır. Sınıfların tüketicileri IMethodMessage özelliğine IMethodMessage.MethodBase başvurmalıdır.

Şunlara uygulanır