RemotingServices.IsMethodOverloaded(IMethodMessage) 方法

定义

返回一个布尔值,该值指示是否重载给定消息中的方法。Returns a Boolean value that indicates whether the method in the given message is overloaded.

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

参数

msg
IMethodMessage

包含对上述方法的调用的消息。The message that contains a call to the method in question.

返回

Boolean

如果重载 msg 中调用的方法,则为 true;否则为 falsetrue if the method called in msg is overloaded; otherwise, false.

属性

例外

直接调用方没有基础结构权限。The immediate caller does not have infrastructure permission.

适用于