AccessDeniedException コンストラクター (String, Exception, Type, String, IExceptionHelper)
例外 acl、オブジェクトの種類、オブジェクト名が含まれると、アクセス拒否を説明するメッセージを作成します。 また、原因を示す内部例外を使用できます。
名前空間: Microsoft.BusinessData.Infrastructure
アセンブリ: Microsoft.BusinessData (Microsoft.BusinessData.dll 内)
構文
'宣言
Public Sub New ( _
message As String, _
inner As Exception, _
securableObjectType As Type, _
securableObjectName As String, _
exh As IExceptionHelper _
)
'使用
Dim message As String
Dim inner As Exception
Dim securableObjectType As Type
Dim securableObjectName As String
Dim exh As IExceptionHelper
Dim instance As New AccessDeniedException(message, _
inner, securableObjectType, securableObjectName, _
exh)
public AccessDeniedException(
string message,
Exception inner,
Type securableObjectType,
string securableObjectName,
IExceptionHelper exh
)
パラメーター
message
型: System.Stringメッセージの文字列。
inner
型: System.Exceptionこの例外の原因となった内部例外。
securableObjectType
型: System.Typeセキュリティ保護可能オブジェクトの種類。
securableObjectName
型: System.Stringセキュリティ保護可能オブジェクトの名前です。
exh
型: Microsoft.BusinessData.Infrastructure.IExceptionHelperローカライズを行うを支援する例外ヘルパーします。