Clase PropertyReadOnlyException
The PropertyReadOnlyException class represents the exception that is raised when an attempt is made to set a read-only property.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Smo. . :: . .SmoException
Microsoft.SqlServer.Management.Smo..::..PropertyReadOnlyException
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public NotInheritable Class PropertyReadOnlyException _
Inherits SmoException
'Uso
Dim instance As PropertyReadOnlyException
[SerializableAttribute]
public sealed class PropertyReadOnlyException : SmoException
[SerializableAttribute]
public ref class PropertyReadOnlyException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyReadOnlyException =
class
inherit SmoException
end
public final class PropertyReadOnlyException extends SmoException
El tipo PropertyReadOnlyException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
PropertyReadOnlyException() () () () | Initializes a new instance of the PropertyReadOnlyException class. | |
PropertyReadOnlyException(String) | Initializes a new instance of the PropertyReadOnlyException class for the specified property. | |
PropertyReadOnlyException(String, Exception) | Initializes a new instance of the PropertyReadOnlyException class with the specified message and the specified inner exception. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception.) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Se hereda de SmoException.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | Gets the message that describes the current exception. (Invalida Exception. . :: . .Message.) | |
PropertyName | Gets the name of the property that is read-only. | |
SmoExceptionType | Gets the type of SMO exception. (Invalida SmoException. . :: . .SmoExceptionType.) | |
Source | (Se hereda de Exception.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Returns object data to facilitate remoting. (Invalida Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Se hereda de Exception.) | |
MemberwiseClone | (Se hereda de Object.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Se hereda de SmoException.) | |
ToString | (Se hereda de Exception.) |
Arriba
Comentarios
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.