InvalidMetadataPropertyException 建構函式 (String, Exception, String, String, Type, IExceptionHelper)
建構具有訊息、 內部例外狀況,不是有效的屬性名稱、 中繼資料的物件名稱、 中繼資料物件類型和例外狀況協助之類別的新的執行個體。
命名空間: Microsoft.BusinessData.MetadataModel
組件: Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
inner As Exception, _
invalidPropertyName As String, _
metadataObjectName As String, _
metadataObjectType As Type, _
exh As IExceptionHelper _
)
'用途
Dim message As String
Dim inner As Exception
Dim invalidPropertyName As String
Dim metadataObjectName As String
Dim metadataObjectType As Type
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataPropertyException(message, _
inner, invalidPropertyName, metadataObjectName, _
metadataObjectType, exh)
public InvalidMetadataPropertyException(
string message,
Exception inner,
string invalidPropertyName,
string metadataObjectName,
Type metadataObjectType,
IExceptionHelper exh
)
參數
message
類型:System.String訊息字串。
inner
類型:System.Exception內部例外狀況造成此例外狀況。
invalidPropertyName
類型:System.String不是有效的屬性名稱。
metadataObjectName
類型:System.String中繼資料的物件名稱。
metadataObjectType
類型:System.Type中繼資料的物件類型。
exh
類型:Microsoft.BusinessData.Infrastructure.IExceptionHelper例外狀況協助人員,可以協助使用者已進行本地化。
請參閱
參照
InvalidMetadataPropertyException 類別
InvalidMetadataPropertyException 成員