Partager via


StorageObjectModelException Constructor (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.

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

Syntax

public StorageObjectModelException(
    string message,
    Exception innerException
)
public:
StorageObjectModelException(
    String^ message,
    Exception^ innerException
)
Public Sub New (
    message As String,
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • innerException
    Type: System.Exception

    The inner exception that is the cause of this exception.

See Also

StorageObjectModelException Overload
StorageObjectModelException Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top