Partager via


BackendNullReturnException, classe (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class BackendNullReturnException
    Inherits RuntimeException
'Utilisation
Dim instance As BackendNullReturnException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class BackendNullReturnException : RuntimeException

Remarques

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.

Hiérarchie d'héritage

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

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres BackendNullReturnException
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms