MetadataObjectNotFoundException Constructor (String, Exception, Type, String, IExceptionHelper)
Constructs a new instance of the class with a message, the inner exception, the metadata object type, the search criteria, and an exception helper.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
inner As Exception, _
metadataObjectType As Type, _
searchCriteria As String, _
exh As IExceptionHelper _
)
'Usage
Dim message As String
Dim inner As Exception
Dim metadataObjectType As Type
Dim searchCriteria As String
Dim exh As IExceptionHelper
Dim instance As New MetadataObjectNotFoundException(message, _
inner, metadataObjectType, searchCriteria, _
exh)
public MetadataObjectNotFoundException(
string message,
Exception inner,
Type metadataObjectType,
string searchCriteria,
IExceptionHelper exh
)
Parameters
message
Type: System.StringThe message string.
inner
Type: System.ExceptionThe inner exception that caused this exception.
metadataObjectType
Type: System.TypeThe metadata object type.
searchCriteria
Type: System.StringThe search criteria.
exh
Type: Microsoft.BusinessData.Infrastructure.IExceptionHelperThe exception helper that assists in localization.
See Also
Reference
MetadataObjectNotFoundException Class
MetadataObjectNotFoundException Members