Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Destroys work items that have the specified IDs.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function DestroyWorkItems ( _
ids As IEnumerable(Of Integer) _
) As IEnumerable(Of WorkItemOperationError)
public IEnumerable<WorkItemOperationError> DestroyWorkItems(
IEnumerable<int> ids
)
public:
IEnumerable<WorkItemOperationError^>^ DestroyWorkItems(
IEnumerable<int>^ ids
)
member DestroyWorkItems :
ids:IEnumerable<int> -> IEnumerable<WorkItemOperationError>
public function DestroyWorkItems(
ids : IEnumerable<int>
) : IEnumerable<WorkItemOperationError>
Parameters
- ids
Type: System.Collections.Generic.IEnumerable<Int32>
An enumerable collection of work item IDs that are associated with the work items to destroy.
Return Value
Type: System.Collections.Generic.IEnumerable<WorkItemOperationError>
An enumerable collection of errors that occurred during the destroy operation.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The ids parameter was null. |
.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.