: BackendNullReturnException (Clase) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class BackendNullReturnException
    Inherits RuntimeException
'Uso
Dim instance As BackendNullReturnException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class BackendNullReturnException : RuntimeException

Comentarios

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.

Jerarquía de herencia

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

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

BackendNullReturnException (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)