C# Класс SecureDelete.WipeSession

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultSessionGuid System.Guid

Открытые методы

Метод Описание
BeginStart ( AsyncCallback callback, object state ) : bool

Start wiping asynchronously

EndStart ( ) : bool

Wait until the start operation has been completed

GenerateGuid ( ) : void
GenerateReport ( ) : WipeReport

Generate a report containing statistics, failed objects and errors

This method is not intended to be used in conjunction with scheduled tasks.

GetFailedObjects ( bool getAssociatedError ) : SecureDelete.FailedObject[]

Get the category of failed objects

GetWipeErrors ( ) : List

Get the category of wipe errors

GetWipeStatus ( WipeStatus &s, bool includeChildren ) : bool

Get the status of the wiping process

Initialize ( ) : bool

Initialize the wipe session. Needs to be called before Start or BeginStart.

Pause ( ) : bool

Pause the wiping process

Resume ( ) : bool

Resume the wiping process

SetGuid ( System.Guid newGuid ) : void
Start ( ) : bool

Start wiping

Stop ( ) : bool

Stop the wiping process

WipeSession ( ) : System

Приватные методы

Метод Описание
AllocateObjects ( ) : void
GenerateStatistics ( ) : void
GetChildrenStatus ( WipeStatus s, NativeMethods wipeStatus, int childrenNumber ) : NativeMethods.WStatus
OnDeserializedMethod ( StreamingContext context ) : void
ReportPluginError ( Plugin plugin, Exception e ) : void
SendSingleWipeObject ( IWipeObject item ) : bool
SendWipeObjects ( List items ) : bool
StartAsync ( object sender, EventArgs e ) : void
StartImpl ( ) : bool

Описание методов

BeginStart() публичный Метод

Start wiping asynchronously
public BeginStart ( AsyncCallback callback, object state ) : bool
callback AsyncCallback The method to be called when the operation has been completed.
state object The state object.
Результат bool

EndStart() публичный Метод

Wait until the start operation has been completed
public EndStart ( ) : bool
Результат bool

GenerateGuid() публичный Метод

public GenerateGuid ( ) : void
Результат void

GenerateReport() публичный Метод

Generate a report containing statistics, failed objects and errors
This method is not intended to be used in conjunction with scheduled tasks.
public GenerateReport ( ) : WipeReport
Результат WipeReport

GetFailedObjects() публичный Метод

Get the category of failed objects
public GetFailedObjects ( bool getAssociatedError ) : SecureDelete.FailedObject[]
getAssociatedError bool Specifies whether or not to attach the associated error to the wipe object.
Результат SecureDelete.FailedObject[]

GetWipeErrors() публичный Метод

Get the category of wipe errors
public GetWipeErrors ( ) : List
Результат List

GetWipeStatus() публичный Метод

Get the status of the wiping process
public GetWipeStatus ( WipeStatus &s, bool includeChildren ) : bool
s WipeStatus The WipeStatus object where to store the status
includeChildren bool Include the status of all children of the context
Результат bool

Initialize() публичный Метод

Initialize the wipe session. Needs to be called before Start or BeginStart.
public Initialize ( ) : bool
Результат bool

Pause() публичный Метод

Pause the wiping process
public Pause ( ) : bool
Результат bool

Resume() публичный Метод

Resume the wiping process
public Resume ( ) : bool
Результат bool

SetGuid() публичный Метод

public SetGuid ( System.Guid newGuid ) : void
newGuid System.Guid
Результат void

Start() публичный Метод

Start wiping
public Start ( ) : bool
Результат bool

Stop() публичный Метод

Stop the wiping process
public Stop ( ) : bool
Результат bool

WipeSession() публичный Метод

public WipeSession ( ) : System
Результат System

Описание свойств

DefaultSessionGuid публичное статическое свойство

public static Guid,System DefaultSessionGuid
Результат System.Guid