Classe WrongPropertyValueException

The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.

Hierarquia de herança

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
        Microsoft.SqlServer.Management.Smo..::..WrongPropertyValueException

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public NotInheritable Class WrongPropertyValueException _
    Inherits SmoException
'Uso
Dim instance As WrongPropertyValueException
[SerializableAttribute]
public sealed class WrongPropertyValueException : SmoException
[SerializableAttribute]
public ref class WrongPropertyValueException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type WrongPropertyValueException =  
    class
        inherit SmoException
    end
public final class WrongPropertyValueException extends SmoException

O tipo WrongPropertyValueException expõe os membros a seguir.

Construtores

  Nome Descrição
Método público WrongPropertyValueException() () () () Initializes a new instance of the WrongPropertyValueException class.
Método público WrongPropertyValueException(String) Initializes a new instance of the WrongPropertyValueException class with the specified message.
Método público WrongPropertyValueException(Property) Initializes a new instance of the WrongPropertyValueException class for the specified property.
Método público WrongPropertyValueException(String, Exception) Initializes a new instance of the WrongPropertyValueException class with the specified message and specified inner exception.

Início

Propriedades

  Nome Descrição
Propriedade pública Data (Herdado de Exception.)
Propriedade pública HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Herdado de SmoException.)
Propriedade protegida HResult (Herdado de Exception.)
Propriedade pública InnerException (Herdado de Exception.)
Propriedade pública Message Gets the message that is associated with the wrong property value exception. (Substitui Exception. . :: . .Message.)
Propriedade pública Property Gets the property that was assigned the wrong property value that caused the wrong property value exception to be raised.
Propriedade pública SmoExceptionType Gets the type of SMO exception for the wrong property value exception. (Substitui SmoException. . :: . .SmoExceptionType.)
Propriedade pública Source (Herdado de Exception.)
Propriedade pública StackTrace (Herdado de Exception.)
Propriedade pública TargetSite (Herdado de Exception.)

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetBaseException (Herdado de Exception.)
Método público GetHashCode (Herdado de Object.)
Método público GetObjectData Gets object data regarding the WrongPropertyValue Exception. (Substitui Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Método público GetType (Herdado de Exception.)
Método protegido MemberwiseClone (Herdado de Object.)
Método protegido SetHelpContext Sets the Help context value for the referenced exception. (Herdado de SmoException.)
Método público ToString (Herdado de Exception.)

Início

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência