Partager via


PropertyTypeMismatchException Class

Definition

The exception thrown if a value of the wrong type is assigned to a property.

[System.Serializable]
public sealed class PropertyTypeMismatchException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type PropertyTypeMismatchException = class
    inherit SmoException
Public NotInheritable Class PropertyTypeMismatchException
Inherits SmoException
Inheritance
PropertyTypeMismatchException
Attributes

Constructors

PropertyTypeMismatchException()

Constructor for the Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String, Exception)

Constructor for the Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String, String, String)

Constructor for the Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException.

PropertyTypeMismatchException(String)

Constructor for the Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException.

Properties

ExpectedType
HelpLink

Gets a link as string to the support web site.

(Inherited from SmoException)
Message

Gets the message for the exception as string.

PropertyName
ReceivedType
SmoExceptionType

Gets the type of exception from the T:Microsoft.SqlServer.Management.Smo.SmoExceptionType enumeration.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialization helper method.

SetHelpContext(String) (Inherited from SmoException)

Applies to