ערוך

שתף באמצעות


RemotingServices.GetMethodBaseFromMethodMessage(IMethodMessage) Method

Definition

Returns the method base from the given IMethodMessage.

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

Parameters

msg
IMethodMessage

The method message to extract the method base from.

Returns

The method base extracted from the msg parameter.

Attributes

Exceptions

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.

Applies to