Share via


ValueMismatchPropertyException Class

Represents the exception to be used if the value of the property is wrong.

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.Data.DataException
        Microsoft.SqlServer.Management.Data.PropertyException
          Microsoft.SqlServer.Management.Data.ValueMismatchPropertyException

Namespace:  Microsoft.SqlServer.Management.Data
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ValueMismatchPropertyException _
    Inherits PropertyException
'Usage
Dim instance As ValueMismatchPropertyException
[SerializableAttribute]
public class ValueMismatchPropertyException : PropertyException
[SerializableAttribute]
public ref class ValueMismatchPropertyException : public PropertyException
[<SerializableAttribute>]
type ValueMismatchPropertyException =  
    class
        inherit PropertyException
    end
public class ValueMismatchPropertyException extends PropertyException

The ValueMismatchPropertyException type exposes the following members.

Constructors

  Name Description
Public method ValueMismatchPropertyException() Initializes a new instance of the ValueMismatchPropertyException class with the default property values.
Public method ValueMismatchPropertyException(ISfcProperty, Object, Object) Initializes a new instance of the ValueMismatchPropertyException class with the specified property and values.

Top

Properties

  Name Description
Public property AssignedValue Gets the assigned value of an object in PropertyException.
Public property Data (Inherited from Exception.)
Public property ExistingValue Gets the current value of an object in PropertyException.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Property Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from PropertyException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.