LogStore.Delete(String) Method

Definition

Removes the log store.

C#
public static void Delete(string path);

Parameters

path
String

A relative or absolute path for the base file of the log store to remove.

Exceptions

path is null.

path is an empty string ("").

-or-

path contains only white space.

-or-

path contains one or more invalid characters.

The file cannot be found.

An I/O error occurs when opening the log store.

Access for the specified log store is denied by the operating system.

Applies to

Toode Versioonid
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1