InvalidMetadataObjectException 建構函式 (String, IMetadataObject, String, IExceptionHelper)
使用郵件、 中繼資料物件、 欄位名稱及例外狀況協助建構新類別的執行個體。
命名空間: Microsoft.BusinessData.MetadataModel
組件: Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
metadataObject As IMetadataObject, _
fieldName As String, _
exh As IExceptionHelper _
)
'用途
Dim message As String
Dim metadataObject As IMetadataObject
Dim fieldName As String
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataObjectException(message, _
metadataObject, fieldName, exh)
public InvalidMetadataObjectException(
string message,
IMetadataObject metadataObject,
string fieldName,
IExceptionHelper exh
)
參數
message
類型:System.String訊息字串。
metadataObject
類型:Microsoft.BusinessData.MetadataModel.IMetadataObject中繼資料物件。
fieldName
類型:System.String不是有效的欄位名稱。
exh
類型:Microsoft.BusinessData.Infrastructure.IExceptionHelper例外狀況協助人員,可以協助使用者已進行本地化。
請參閱
參照
InvalidMetadataObjectException 類別
InvalidMetadataObjectException 成員