43 lines
2.0 KiB
C#
43 lines
2.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Runtime.Remoting
|
|
{
|
|
/// <summary>The exception that is thrown to communicate errors to the client when the client connects to non-.NET Framework applications that cannot throw exceptions.</summary>
|
|
// Token: 0x0200044E RID: 1102
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ServerException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.ServerException" /> class with default properties.</summary>
|
|
// Token: 0x06002A8C RID: 10892 RVA: 0x00089FD8 File Offset: 0x000881D8
|
|
public ServerException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.ServerException" /> class with a specified message.</summary>
|
|
/// <param name="message">The message that describes the exception </param>
|
|
// Token: 0x06002A8D RID: 10893 RVA: 0x00089FE0 File Offset: 0x000881E0
|
|
public ServerException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.ServerException" /> 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 null, the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x06002A8E RID: 10894 RVA: 0x00089FEC File Offset: 0x000881EC
|
|
public ServerException(string message, Exception InnerException)
|
|
: base(message, InnerException)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002A8F RID: 10895 RVA: 0x00089FF8 File Offset: 0x000881F8
|
|
internal ServerException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|