共用方式為


TestObjectUpdatedException Constructor (String, IEnumerable<Object>)

Initializes a new instance of the TestObjectUpdatedException class by using the provided message and collection of values.

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) _
)
public TestObjectUpdatedException(
    string message,
    IEnumerable<Object> values
)
public:
TestObjectUpdatedException(
    String^ message, 
    IEnumerable<Object^>^ values
)
new : 
        message:string * 
        values:IEnumerable<Object> -> TestObjectUpdatedException
public function TestObjectUpdatedException(
    message : String, 
    values : IEnumerable<Object>
)

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.

.NET Framework Security

See Also

Reference

TestObjectUpdatedException Class

TestObjectUpdatedException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

IEnumerable