Compartilhar via


InvalidSimpleObjectValueException Constructor (String, InvalidSimpleObjectValueExceptionType, String, String)

Initializes a new instance of the InvalidSimpleObjectValueException class using the specified parameters.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim message As String
Dim exceptionType As InvalidSimpleObjectValueExceptionType
Dim typeName As String
Dim propertyName As String

Dim instance As New InvalidSimpleObjectValueException(message, exceptionType, typeName, propertyName)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    exceptionType As InvalidSimpleObjectValueExceptionType, _
    typeName As String, _
    propertyName As String _
)
public InvalidSimpleObjectValueException (
    string message,
    InvalidSimpleObjectValueExceptionType exceptionType,
    string typeName,
    string propertyName
)
public:
InvalidSimpleObjectValueException (
    String^ message, 
    InvalidSimpleObjectValueExceptionType exceptionType, 
    String^ typeName, 
    String^ propertyName
)
public InvalidSimpleObjectValueException (
    String message, 
    InvalidSimpleObjectValueExceptionType exceptionType, 
    String typeName, 
    String propertyName
)
public function InvalidSimpleObjectValueException (
    message : String, 
    exceptionType : InvalidSimpleObjectValueExceptionType, 
    typeName : String, 
    propertyName : String
)

Parameters

  • message
    The error message that describes the current exception.
  • exceptionType
    The type of value error that caused the exception.
  • typeName
    The name of the class containing the invalid specified simple object property value.
  • propertyName
    The name of the property.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidSimpleObjectValueException Class
InvalidSimpleObjectValueException Members
Microsoft.EnterpriseManagement.Common Namespace