Share via


PropertyException Class

Represents an error that occurs when an operation on the property fails.

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.Data.DataException
        Microsoft.SqlServer.Management.Data.PropertyException
          Microsoft.SqlServer.Management.Data.DuplicatePropertyException
          Microsoft.SqlServer.Management.Data.TypeMismatchPropertyException
          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 PropertyException _
    Inherits DataException
'Usage
Dim instance As PropertyException
[SerializableAttribute]
public class PropertyException : DataException
[SerializableAttribute]
public ref class PropertyException : public DataException
[<SerializableAttribute>]
type PropertyException =  
    class
        inherit DataException
    end
public class PropertyException extends DataException

The PropertyException type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
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.
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.