IMethodReturnMessage.ReturnValue 属性

获取方法调用的返回值。

**命名空间:**System.Runtime.Remoting.Messaging
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
ReadOnly Property ReturnValue As Object
用法
Dim instance As IMethodReturnMessage
Dim value As Object

value = instance.ReturnValue
Object ReturnValue { get; }
property Object^ ReturnValue {
    Object^ get ();
}
/** @property */
Object get_ReturnValue ()
function get ReturnValue () : Object

属性值

方法调用的返回值。

异常

异常类型 条件

SecurityException

直接调用方通过接口引用进行调用,它没有基础结构权限。

.NET Framework 安全性

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

IMethodReturnMessage 接口
IMethodReturnMessage 成员
System.Runtime.Remoting.Messaging 命名空间