using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when a feature does not run on a particular platform.
/// 2
// Token: 0x020006A0 RID: 1696
[ComVisible(true)]
[Serializable]
public class PlatformNotSupportedException : NotSupportedException
{
/// Initializes a new instance of the class with default properties.
// Token: 0x06004068 RID: 16488 RVA: 0x000DB92C File Offset: 0x000D9B2C
public PlatformNotSupportedException()
: base(Locale.GetText("This platform is not supported."))
{
base.HResult = -2146233031;
}
/// Initializes a new instance of the class with a specified error message.
/// The text message that explains the reason for the exception.
// Token: 0x06004069 RID: 16489 RVA: 0x000DB94C File Offset: 0x000D9B4C
public PlatformNotSupportedException(string message)
: base(message)
{
base.HResult = -2146233031;
}
/// Initializes a new instance of the class with serialized data.
/// The that holds the serialized object data about the exception being thrown.
/// The that contains contextual information about the source or destination.
// Token: 0x0600406A RID: 16490 RVA: 0x000DB960 File Offset: 0x000D9B60
protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// 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: 0x0600406B RID: 16491 RVA: 0x000DB96C File Offset: 0x000D9B6C
public PlatformNotSupportedException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233031;
}
// Token: 0x0400199F RID: 6559
private const int Result = -2146233031;
}
}