using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when the time allotted for a process or operation has expired.
/// 2
// Token: 0x020006B5 RID: 1717
[ComVisible(true)]
[Serializable]
public class TimeoutException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x060040F6 RID: 16630 RVA: 0x000DD3B8 File Offset: 0x000DB5B8
public TimeoutException()
: base(Locale.GetText("The operation has timed-out."))
{
base.HResult = -2146233083;
}
/// Initializes a new instance of the class with the specified error message.
/// The message that describes the error.
// Token: 0x060040F7 RID: 16631 RVA: 0x000DD3D8 File Offset: 0x000DB5D8
public TimeoutException(string message)
: base(message)
{
base.HResult = -2146233083;
}
/// Initializes a new instance of the class with the specified error message and inner exception.
/// The message that describes the error.
/// 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: 0x060040F8 RID: 16632 RVA: 0x000DD3EC File Offset: 0x000DB5EC
public TimeoutException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233083;
}
/// Initializes a new instance of the class with serialized data.
/// The object that contains serialized object data about the exception being thrown.
/// The object that contains contextual information about the source or destination. The parameter is reserved for future use, and can be specified as null.
/// The parameter is null.
/// The class name is null, or is zero (0).
// Token: 0x060040F9 RID: 16633 RVA: 0x000DD404 File Offset: 0x000DB604
protected TimeoutException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x04001A02 RID: 6658
private const int Result = -2146233083;
}
}