Partager via


StorageObjectModelException Class

 

Represents errors that occur during Storage Object Model operations.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.WindowsServerSolutions.Storage.StorageObjectModelException

Syntax

[SerializableAttribute]
public class StorageObjectModelException : Exception
[SerializableAttribute]
public ref class StorageObjectModelException : Exception
<SerializableAttribute>
Public Class StorageObjectModelException
    Inherits Exception

Constructors

Name Description
System_CAPS_pubmethod StorageObjectModelException()

Initializes a new instance of the StorageObjectModelException class.

System_CAPS_protmethod StorageObjectModelException(SerializationInfo, StreamingContext)

Initializes a new instance of the StorageObjectModelException class with the specified serialization data.

System_CAPS_pubmethod StorageObjectModelException(String)

Initializes a new instance of the StorageObjectModelException class with the specified message.

System_CAPS_pubmethod StorageObjectModelException(String, Exception)

Initializes a new instance of the StorageObjectModelException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty ErrorCode

Gets the error code for the exception.

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

Gets the message text.(Overrides Exception.Message.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

Thread Safety

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

See Also

Microsoft.WindowsServerSolutions.Storage Namespace

Return to top