SynchronizationUpdateErrorInfoCollection.Insert Method (Int32, SynchronizationUpdateErrorInfo)
Applies To: Windows Server Update Services
Inserts update error information into the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void Insert(
int index,
SynchronizationUpdateErrorInfo value
)
public:
void Insert(
int index,
SynchronizationUpdateErrorInfo^ value
)
member Insert :
index:int *
value:SynchronizationUpdateErrorInfo -> unit
Public Sub Insert (
index As Integer,
value As SynchronizationUpdateErrorInfo
)
Parameters
index
Type: System.Int32Zero-based index at which to insert the update error information into the collection.
value
Type: Microsoft.UpdateServices.Administration.SynchronizationUpdateErrorInfoAn SynchronizationUpdateErrorInfo of the update error information to insert into the collection.
Exceptions
Exception
Condition
The update error information already exists in this collection.
value cannot be null.
index cannot be less than zero or greater than the size of the collection.
See Also
Insert Overload
SynchronizationUpdateErrorInfoCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top