scripts
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>The exception that is thrown when an attempt to marshal an object across a context boundary fails.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x0200064D RID: 1613
|
||||
[ComVisible(true)]
|
||||
[Obsolete("this type is obsoleted in 2.0 profile")]
|
||||
[Serializable]
|
||||
public class ContextMarshalException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ContextMarshalException" /> class with default properties.</summary>
|
||||
// Token: 0x06003BC3 RID: 15299 RVA: 0x000CB054 File Offset: 0x000C9254
|
||||
public ContextMarshalException()
|
||||
: base(Locale.GetText("Attempt to marshal and object across a context failed."))
|
||||
{
|
||||
base.HResult = -2146233084;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ContextMarshalException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception. </param>
|
||||
// Token: 0x06003BC4 RID: 15300 RVA: 0x000CB074 File Offset: 0x000C9274
|
||||
public ContextMarshalException(string message)
|
||||
: base(message)
|
||||
{
|
||||
base.HResult = -2146233084;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ContextMarshalException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown. </param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination. </param>
|
||||
// Token: 0x06003BC5 RID: 15301 RVA: 0x000CB088 File Offset: 0x000C9288
|
||||
protected ContextMarshalException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ContextMarshalException" /> 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="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
|
||||
// Token: 0x06003BC6 RID: 15302 RVA: 0x000CB094 File Offset: 0x000C9294
|
||||
public ContextMarshalException(string message, Exception inner)
|
||||
: base(message, inner)
|
||||
{
|
||||
base.HResult = -2146233084;
|
||||
}
|
||||
|
||||
// Token: 0x0400187D RID: 6269
|
||||
private const int Result = -2146233084;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user