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à
System. . :: . .Object
System. . :: . .Exception
System. . :: . .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. |
In alto
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Ereditato da Exception. |
![]() |
GetType | Ereditato da Exception. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Ereditato da Exception. |
In alto
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.
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.