SecretSweepDumpRestoreException
Namespace: Meshmakers.Octo.Sdk.ServiceClient.BotServices
Thrown by IBotServicesClient.RestoreSecretSweepDumpAsync(String, String, Boolean) when bot services refuses the restore
with 400, 404 or 409 (AB#5559). The message is fixed per SecretSweepDumpRestoreException.Reason and never
contains data from the response body.
public class SecretSweepDumpRestoreException : ServiceClientResultException, ISerializable
Inheritance Object → Exception → ServiceClientResultException → SecretSweepDumpRestoreException
Implements ISerializable
Properties
Reason
Why the restore was refused.
public SecretSweepDumpRestoreFailure Reason { get; }
Property Value
HttpStatusCode
Returns the status code
public HttpStatusCode HttpStatusCode { get; }
Property Value
HttpStatusCode
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
SecretSweepDumpRestoreException(SecretSweepDumpRestoreFailure, HttpStatusCode)
Constructor
public SecretSweepDumpRestoreException(SecretSweepDumpRestoreFailure reason, HttpStatusCode httpStatusCode)
Parameters
reason SecretSweepDumpRestoreFailure
Why the restore was refused.
httpStatusCode HttpStatusCode
The HTTP status code received.