Files
Dec2017-Script-Dump/mscorlib/System/Runtime/InteropServices/SEHException.cs
T
2026-06-04 11:42:34 +02:00

55 lines
2.6 KiB
C#

using System;
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
{
/// <summary>Represents Structured Exception Handler (SEH) errors.</summary>
// Token: 0x0200033A RID: 826
[ComVisible(true)]
[Serializable]
public class SEHException : ExternalException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SEHException" /> class. </summary>
// Token: 0x06002309 RID: 8969 RVA: 0x0007A718 File Offset: 0x00078918
public SEHException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SEHException" /> class with a specified message.</summary>
/// <param name="message">The message that indicates the reason for the exception. </param>
// Token: 0x0600230A RID: 8970 RVA: 0x0007A720 File Offset: 0x00078920
public SEHException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SEHException" /> 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="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
// Token: 0x0600230B RID: 8971 RVA: 0x0007A72C File Offset: 0x0007892C
public SEHException(string message, Exception inner)
: base(message, inner)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SEHException" /> class from serialization 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>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is null. </exception>
// Token: 0x0600230C RID: 8972 RVA: 0x0007A738 File Offset: 0x00078938
protected SEHException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Indicates whether the exception can be recovered from, and whether the code can continue from the point where the exception was thrown.</summary>
/// <returns>Always false, because resumable exceptions are not yet implemented.</returns>
// Token: 0x0600230D RID: 8973 RVA: 0x0007A744 File Offset: 0x00078944
public virtual bool CanResume()
{
return false;
}
}
}