using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// 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.
/// 2
// Token: 0x02000695 RID: 1685
[ComVisible(true)]
[Serializable]
public class NotSupportedException : SystemException
{
/// Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.
// Token: 0x06003FE0 RID: 16352 RVA: 0x000D79C8 File Offset: 0x000D5BC8
public NotSupportedException()
: base(Locale.GetText("Operation is not supported."))
{
base.HResult = -2146233067;
}
/// Initializes a new instance of the class with a specified error message.
/// A that describes the error. The content of 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.
// Token: 0x06003FE1 RID: 16353 RVA: 0x000D79E8 File Offset: 0x000D5BE8
public NotSupportedException(string message)
: base(message)
{
base.HResult = -2146233067;
}
/// 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 a null reference, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003FE2 RID: 16354 RVA: 0x000D79FC File Offset: 0x000D5BFC
public NotSupportedException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233067;
}
/// 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: 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;
}
}