using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Security.Cryptography { /// The exception that is thrown when an unexpected operation occurs during a cryptographic operation. // Token: 0x020004F2 RID: 1266 [ComVisible(true)] [Serializable] public class CryptographicUnexpectedOperationException : CryptographicException { /// Initializes a new instance of the class with default properties. // Token: 0x06002ED3 RID: 11987 RVA: 0x00096A94 File Offset: 0x00094C94 public CryptographicUnexpectedOperationException() : base(Locale.GetText("Unexpected error occured during a cryptographic operation.")) { base.HResult = -2146233295; } /// Initializes a new instance of the class with a specified error message. /// The error message that explains the reason for the exception. // Token: 0x06002ED4 RID: 11988 RVA: 0x00096AB4 File Offset: 0x00094CB4 public CryptographicUnexpectedOperationException(string message) : base(message) { base.HResult = -2146233295; } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06002ED5 RID: 11989 RVA: 0x00096AC8 File Offset: 0x00094CC8 public CryptographicUnexpectedOperationException(string message, Exception inner) : base(message, inner) { base.HResult = -2146233295; } /// Initializes a new instance of the class with a specified error message in the specified format. /// The format used to output the error message. /// The error message that explains the reason for the exception. // Token: 0x06002ED6 RID: 11990 RVA: 0x00096AE0 File Offset: 0x00094CE0 public CryptographicUnexpectedOperationException(string format, string insert) : base(string.Format(format, insert)) { base.HResult = -2146233295; } /// Initializes a new instance of the class with serialized data. /// The object that holds the serialized object data. /// The contextual information about the source or destination. // Token: 0x06002ED7 RID: 11991 RVA: 0x00096AFC File Offset: 0x00094CFC protected CryptographicUnexpectedOperationException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }