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

54 lines
2.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000695 RID: 1685
[ComVisible(true)]
[Serializable]
public class NotSupportedException : SystemException
{
/// <summary>Initializes a new instance of the <see cref="T:System.NotSupportedException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.</summary>
// Token: 0x06003FE0 RID: 16352 RVA: 0x000D79C8 File Offset: 0x000D5BC8
public NotSupportedException()
: base(Locale.GetText("Operation is not supported."))
{
base.HResult = -2146233067;
}
/// <summary>Initializes a new instance of the <see cref="T:System.NotSupportedException" /> class with a specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
// Token: 0x06003FE1 RID: 16353 RVA: 0x000D79E8 File Offset: 0x000D5BE8
public NotSupportedException(string message)
: base(message)
{
base.HResult = -2146233067;
}
/// <summary>Initializes a new instance of the <see cref="T:System.NotSupportedException" /> 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 a null reference, the current exception is raised in a catch block that handles the inner exception. </param>
// Token: 0x06003FE2 RID: 16354 RVA: 0x000D79FC File Offset: 0x000D5BFC
public NotSupportedException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233067;
}
/// <summary>Initializes a new instance of the <see cref="T:System.NotSupportedException" /> 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: 0x06003FE3 RID: 16355 RVA: 0x000D7A14 File Offset: 0x000D5C14
protected NotSupportedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x0400194E RID: 6478
private const int Result = -2146233067;
}
}