Collection. Clear Method
Releases all of the reservations in the collection. This method cannot be inherited.
public: virtual void Clear();
public void Clear ();
abstract member Clear : unit -> unit override this.Clear : unit -> unit
Public Sub Clear ()
size is invalid or exceeds maximum reservation size.
An I/O error occurs when creating the archive snapshot.
The method was called after the sequence has been disposed of.
There is not enough memory to continue the execution of the program.
The record sequence is full.
Access for the specified log store is denied by the operating system.