Freigeben über


PropertyNotSetException-Klasse

The PropertyNotSetException class represents the exception that is raised when a property value has not been set.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
        Microsoft.SqlServer.Management.Smo..::..PropertyNotSetException

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class PropertyNotSetException _
    Inherits SmoException
'Usage
Dim instance As PropertyNotSetException
[SerializableAttribute]
public sealed class PropertyNotSetException : SmoException
[SerializableAttribute]
public ref class PropertyNotSetException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyNotSetException =  
    class
        inherit SmoException
    end
public final class PropertyNotSetException extends SmoException

Der PropertyNotSetException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode PropertyNotSetException() () () () Initializes a new instance of the PropertyNotSetException class.
Öffentliche Methode PropertyNotSetException(String) Initializes a new instance of the PropertyNotSetException class with the specified property.
Öffentliche Methode PropertyNotSetException(String, Exception) Initializes a new instance of the PropertyNotSetException class with the specified message and specified inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Geerbt von SmoException.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message Gets the message that describes the current exception. (Überschreibt Exception. . :: . .Message.)
Öffentliche Eigenschaft PropertyName Gets the name of the property that has not been set.
Öffentliche Eigenschaft SmoExceptionType Gets the type of SMO exception. (Überschreibt SmoException. . :: . .SmoExceptionType.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Gets the serialized data for the exception object. (Überschreibt Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Sets the Help context value for the referenced exception. (Geerbt von SmoException.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.