TestObjectInUseException Constructor (String, Exception)
Initializes a new instance of the TestObjectInUseException class by using the provided message and the 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 TestObjectInUseException(
string message,
Exception ex
)
public:
TestObjectInUseException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> TestObjectInUseException
public function TestObjectInUseException(
message : String,
ex : Exception
)
Parameters
message
Type: StringMessage describing the exception.
ex
Type: ExceptionThe 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
TestObjectInUseException Class