C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
Utilities for cleaning up the server. More...
Static Public Member Functions | |
static bool | CheckServerIsClean (bool ignoreExceptions=false) |
Check all known server endpoints and determine whether there are any resources on the server. | |
static bool | ForceCleanServer (bool ignoreExceptions=false, int? timeout=null) |
Invoke the DELETE method on the root of the server. Will wait for the DELETE to complete successfully for [timeout] seconds, then time out. | |
static bool | TryDelete_Silent (IAPIResource item) |
Attempt to delete the resource, but throw no exceptions if it cannot be deleted. | |
Utilities for cleaning up the server.
Definition at line 18 of file CleanUp.cs.
|
inlinestatic |
Check all known server endpoints and determine whether there are any resources on the server.
Definition at line 23 of file CleanUp.cs.
|
inlinestatic |
Invoke the DELETE method on the root of the server. Will wait for the DELETE to complete successfully for [timeout] seconds, then time out.
ignoreExceptions | IF true, this method will not raise an assertion fail if the cleanup fails or times out. |
timeout | The amount of time (in milliseconds) to poll the server to cleanup before giving up. |
Definition at line 63 of file CleanUp.cs.
|
inlinestatic |
Attempt to delete the resource, but throw no exceptions if it cannot be deleted.
item | The resource to delete. |
Definition at line 93 of file CleanUp.cs.