Share via


BackendNullReturnException 类 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Represents an exception that is thrown when the back-end method returns null.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class BackendNullReturnException
    Inherits RuntimeException
用法
Dim instance As BackendNullReturnException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class BackendNullReturnException : RuntimeException

备注

This typically means that when trying to extract the structure represented by the ReturnTypeDescriptor (of the MethodInstance that was executed) from the native adapter object, either the extracted value or the native object itself is null. If you get this exception, check the result set from your back-end method and ensure it does not return null.

继承层次结构

System.Object
   System.Exception
     Microsoft.Office.Server.ApplicationRegistry.Runtime.RuntimeException
      Microsoft.Office.Server.ApplicationRegistry.Runtime.BackendNullReturnException

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

BackendNullReturnException 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间