Share via


InvalidDataInStorageException Constructor (String, Exception)

Initializes a new instance of the InvalidDataInStorageException class by using the provided message and inner exception.

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    msg As String, _
    inner As Exception _
)
public InvalidDataInStorageException(
    string msg,
    Exception inner
)
public:
InvalidDataInStorageException(
    String^ msg, 
    Exception^ inner
)
new : 
        msg:string * 
        inner:Exception -> InvalidDataInStorageException
public function InvalidDataInStorageException(
    msg : String, 
    inner : Exception
)

Parameters

  • msg
    Type: String

    Message that describes the exception.

  • inner
    Type: Exception

    Exception that caused the current exception.

.NET Framework Security

See Also

Reference

InvalidDataInStorageException Class

InvalidDataInStorageException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace