Classe PropertyNotSetException
The exception that is raised when a process requests a property that has not been set on the connection to the server.
Gerarchia di ereditarietà
Object
Exception
SystemException
Microsoft.SqlServer.Management.Common.ConnectionException
Microsoft.SqlServer.Management.Common.PropertyNotSetException
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class PropertyNotSetException _
Inherits ConnectionException
'Utilizzo
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
Nel tipo PropertyNotSetException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
PropertyNotSetException() | Initializes a new instance of the PropertyNotSetException class. | |
PropertyNotSetException(String) | Initializes a new instance of the PropertyNotSetException class with the specified message text. | |
PropertyNotSetException(String, Exception) | Initializes a new instance of the PropertyNotSetException class with the specified message text and inner exception. |
Torna all'inizio
Proprietà
Nome | Descrizione | |
---|---|---|
Data | Ereditato da Exception. | |
HelpLink | Ereditato da Exception. | |
HResult | Ereditato da Exception. | |
InnerException | Ereditato da Exception. | |
Message | Ereditato da Exception. | |
Source | Ereditato da Exception. | |
StackTrace | Ereditato da Exception. | |
TargetSite | Ereditato da Exception. |
Torna all'inizio
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
GetBaseException | Ereditato da Exception. | |
GetHashCode | Ereditato da Object. | |
GetObjectData | Criticità per la sicurezza. Ereditato da Exception. | |
GetType | Ereditato da Exception. | |
ToString | Ereditato da Exception. |
Torna all'inizio
Osservazioni
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Esempi
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.