InvalidMetadataPropertyException Constructor (String, String, String, Type, IExceptionHelper)
Constructs a new instance of the class with a message, a property name that is not valid, a metadata object name, a metadata object type, and an exception helper.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
invalidPropertyName As String, _
metadataObjectName As String, _
metadataObjectType As Type, _
exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim invalidPropertyName As String
Dim metadataObjectName As String
Dim metadataObjectType As Type
Dim exh As IExceptionHelper
Dim instance As New InvalidMetadataPropertyException(message, _
invalidPropertyName, metadataObjectName, _
metadataObjectType, exh)
public InvalidMetadataPropertyException(
string message,
string invalidPropertyName,
string metadataObjectName,
Type metadataObjectType,
IExceptionHelper exh
)
Parameters
message
Type: System.StringThe message string.
invalidPropertyName
Type: System.StringThe property name that is not valid.
metadataObjectName
Type: System.StringThe metadata object name.
metadataObjectType
Type: System.TypeThe metadata object type.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in localization.
See Also
Reference
InvalidMetadataPropertyException Class
InvalidMetadataPropertyException Members