共用方式為


TestObjectUpdatedException Constructor (String, IEnumerable<Object>, Exception)

Initializes a new instance of the TestObjectUpdatedException class by using the provided message, collection of values, 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, _
    values As IEnumerable(Of Object), _
    innerException As Exception _
)
public TestObjectUpdatedException(
    string message,
    IEnumerable<Object> values,
    Exception innerException
)
public:
TestObjectUpdatedException(
    String^ message, 
    IEnumerable<Object^>^ values, 
    Exception^ innerException
)
new : 
        message:string * 
        values:IEnumerable<Object> * 
        innerException:Exception -> TestObjectUpdatedException
public function TestObjectUpdatedException(
    message : String, 
    values : IEnumerable<Object>, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The message for this exception.

  • values
    Type: IEnumerable<Object>

    An IEnumerable list that contains the objects that cannot be saved because they have more recently been changed by another user.

  • innerException
    Type: Exception

    The exception that caused the current exception.

.NET Framework Security

See Also

Reference

TestObjectUpdatedException Class

TestObjectUpdatedException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

IEnumerable