MethodReturnMessageWrapper.Exception 属性

定义

获取方法调用期间引发的异常;或者如果该方法未引发异常,则为 nullGets the exception thrown during the method call, or null if the method did not throw an exception.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
public virtual Exception Exception { get; set; }
[get: System.Security.SecurityCritical]
public virtual Exception Exception { get; set; }
member this.Exception : Exception with get, set
[<get: System.Security.SecurityCritical>]
member this.Exception : Exception with get, set
Public Overridable Property Exception As Exception

属性值

Exception

方法调用期间引发的 Exception;或者如果该方法未引发异常,则为 nullThe Exception thrown during the method call, or null if the method did not throw an exception.

属性

注解

方法属于远程对象。The method belongs to a remote object.

适用于