BackendNullReturnException Class
Represents an exception that is thrown when the back-end method returns a null reference (Nothing in Visual Basic).
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Office.Server.ApplicationRegistry.Runtime.RuntimeException
Microsoft.Office.Server.ApplicationRegistry.Runtime.BackendNullReturnException
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class BackendNullReturnException _
Inherits RuntimeException
'Usage
Dim instance As BackendNullReturnException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class BackendNullReturnException : RuntimeException
Remarks
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 a null reference (Nothing in Visual Basic).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
BackendNullReturnException Members
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace