PropertyNotSetException PropertyNotSetException PropertyNotSetException Class

Definition

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

public ref class PropertyNotSetException sealed : Microsoft::SqlServer::Management::Smo::SmoException
public sealed class PropertyNotSetException : Microsoft.SqlServer.Management.Smo.SmoException
Public NotInheritable Class PropertyNotSetException
Inherits SmoException
Inheritance
Microsoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementException
PropertyNotSetExceptionPropertyNotSetExceptionPropertyNotSetException

Examples

Handling SMO Exceptions

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

PropertyNotSetException() PropertyNotSetException() PropertyNotSetException()

Initializes a new instance of the PropertyNotSetException class.

PropertyNotSetException(String) PropertyNotSetException(String) PropertyNotSetException(String)

Initializes a new instance of the PropertyNotSetException class with the specified property.

PropertyNotSetException(String, Exception) PropertyNotSetException(String, Exception) PropertyNotSetException(String, Exception)

Initializes a new instance of the PropertyNotSetException class with the specified message and specified inner exception.

Properties

HelpLink HelpLink HelpLink

Gets the Help link for further information from Microsoft about the SMO exception.

(Inherited from SmoException)
Message Message Message

Gets the message that describes the current exception.

PropertyName PropertyName PropertyName

Gets the name of the property that has not been set.

SmoExceptionType SmoExceptionType SmoExceptionType

Gets the type of SMO exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Gets the serialized data for the exception object.

SetHelpContext(String) SetHelpContext(String) SetHelpContext(String)

Sets the Help context value for the referenced exception.

(Inherited from SmoException)

Applies to