BackendNullReturnException クラス (Microsoft.Office.Server.ApplicationRegistry.Runtime)

バックエンド メソッドが 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

備考

これは通常、ネイティブ アダプタ オブジェクトから ReturnTypeDescriptor (実行された MethodInstance に属する) によって表される構造を抽出しようとする場合に、抽出する値またはネイティブ オブジェクト自体のいずれかが null であることを意味しています。この例外を受け取った場合には、バックエンド メソッドの結果セットをチェックし、それが null を返していないことを確認します。

継承階層

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

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

BackendNullReturnException メンバ
Microsoft.Office.Server.ApplicationRegistry.Runtime 名前空間