InvocationException Constructor (String, IObject, String, Object, Exception) |
Initializes a new instance of the InvokationException class using the specified error message, object, member name, invokation parameters and a reference to the inner exception.
Namespace:
SmartBear.TestLeft.TestObjects
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public InvocationException(
string msg,
IObject obj,
string memberName,
Object[] parameters,
Exception innerException
)
Public Sub New (
msg As String,
obj As IObject,
memberName As String,
parameters As Object(),
innerException As Exception
)
Dim msg As String
Dim obj As IObject
Dim memberName As String
Dim parameters As Object()
Dim innerException As Exception
Dim instance As New InvocationException(msg, obj,
memberName, parameters, innerException)
public:
InvocationException(
String^ msg,
IObject^ obj,
String^ memberName,
array<Object^>^ parameters,
Exception^ innerException
)
Parameters
- msg
- Type: SystemString
The error message that explains why the exception occurred. - obj
- Type: SmartBear.TestLeft.TestObjectsIObject
The object whose member threw the exception. - memberName
- Type: SystemString
The name of the object member, invocation of which caused the exception. - parameters
- Type: SystemObject
The parameters of the failed invocation. - innerException
- Type: SystemException
The inner exception.
See Also