TestObjectNotFoundException Constructor (String, Exception)
Initializes a new instance of the TestObjectNotFoundException class by using the provided message and inner exception.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
ex As Exception _
)
public TestObjectNotFoundException(
string message,
Exception ex
)
public:
TestObjectNotFoundException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> TestObjectNotFoundException
public function TestObjectNotFoundException(
message : String,
ex : Exception
)
Parameters
- message
Type: System.String
The message for this exception.
- ex
Type: System.Exception
The exception that caused this 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
TestObjectNotFoundException Class