Reset Method

The Reset method of the AudienceSiteCollection.AudienceSiteEnumerator class sets the enumerator to its initial position, which is before the first element in this collection.

Exceptions

Exception Type Condition
System.Exception The collection was modified after the enumerator was created.

Remarks

The enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated, and the next call to MoveNext or Reset throws an exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security