Classe PropertyWriteException
The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Smo. . :: . .SmoException
Microsoft.SqlServer.Management.Smo..::..PropertyWriteException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public NotInheritable Class PropertyWriteException _
Inherits SmoException
'Uso
Dim instance As PropertyWriteException
[SerializableAttribute]
public sealed class PropertyWriteException : SmoException
[SerializableAttribute]
public ref class PropertyWriteException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyWriteException =
class
inherit SmoException
end
public final class PropertyWriteException extends SmoException
O tipo PropertyWriteException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
PropertyWriteException() () () () | Initializes a new instance of the PropertyWriteException class. | |
PropertyWriteException(String) | Initializes a new instance of the PropertyWriteException class with the specified message. | |
PropertyWriteException(String, Exception) | Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception. | |
PropertyWriteException(String, String, String, String) | Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Data | (Herdado de Exception.) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Herdado de SmoException.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | Gets the message that describes the exception. (Substitui Exception. . :: . .Message.) | |
PropertyName | Gets the name of the property that received a value with the incorrect data type. | |
SmoExceptionType | Gets the type of SMO exception. (Substitui SmoException. . :: . .SmoExceptionType.) | |
Source | (Herdado de Exception.) | |
StackTrace | (Herdado de Exception.) | |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetBaseException | (Herdado de Exception.) | |
GetHashCode | (Herdado de Object.) | |
GetObjectData | Returns object data to facilitate remoting. (Substitui Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Herdado de Exception.) | |
MemberwiseClone | (Herdado de Object.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Herdado de SmoException.) | |
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.