Initializes a new instance of the FailedToInstantiateTypeException class by using the provided message and the 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 FailedToInstantiateTypeException(
    string msg,
    Exception inner
)
public:
FailedToInstantiateTypeException(
    String^ msg, 
    Exception^ inner
)
new : 
        msg:string * 
        inner:Exception -> FailedToInstantiateTypeException
public function FailedToInstantiateTypeException(
    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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
FailedToInstantiateTypeException Class