Clase PropertyNotSetException

The exception that is raised when a process requests a property that has not been set on the connection to the server.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .SystemException
      Microsoft.SqlServer.Management.Common. . :: . .ConnectionException
        Microsoft.SqlServer.Management.Common..::..PropertyNotSetException

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public NotInheritable Class PropertyNotSetException _
    Inherits ConnectionException
'Uso
Dim instance As PropertyNotSetException
[SerializableAttribute]
public sealed class PropertyNotSetException : ConnectionException
[SerializableAttribute]
public ref class PropertyNotSetException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyNotSetException =  
    class
        inherit ConnectionException
    end
public final class PropertyNotSetException extends ConnectionException

El tipo PropertyNotSetException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público PropertyNotSetException() () () () Initializes a new instance of the PropertyNotSetException class.
Método público PropertyNotSetException(String) Initializes a new instance of the PropertyNotSetException class with the specified message text.
Método público PropertyNotSetException(String, Exception) Initializes a new instance of the PropertyNotSetException class with the specified message text and inner exception.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink (Se hereda de Exception.)
Propiedad protegida HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público 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.