Files
2026-06-04 11:42:34 +02:00

46 lines
2.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Security
{
/// <summary>The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe.</summary>
// Token: 0x020005DC RID: 1500
[ComVisible(true)]
[Serializable]
public class VerificationException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.VerificationException" /> class with default properties.</summary>
// Token: 0x060036AC RID: 13996 RVA: 0x000BB8B8 File Offset: 0x000B9AB8
public VerificationException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.VerificationException" /> class with an explanatory message.</summary>
/// <param name="message">A message indicating the reason the exception occurred. </param>
// Token: 0x060036AD RID: 13997 RVA: 0x000BB8C0 File Offset: 0x000B9AC0
public VerificationException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.VerificationException" /> class with serialized data.</summary>
/// <param name="info">The object that holds the serialized object data. </param>
/// <param name="context">The contextual information about the source or destination. </param>
// Token: 0x060036AE RID: 13998 RVA: 0x000BB8CC File Offset: 0x000B9ACC
protected VerificationException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.VerificationException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
// Token: 0x060036AF RID: 13999 RVA: 0x000BB8D8 File Offset: 0x000B9AD8
public VerificationException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}