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