45 lines
2.2 KiB
C#
45 lines
2.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when there is an attempt to combine two delegates based on the <see cref="T:System.Delegate" /> type instead of the <see cref="T:System.MulticastDelegate" /> type. This class cannot be inherited. </summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x02000691 RID: 1681
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class MulticastNotSupportedException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MulticastNotSupportedException" /> class.</summary>
|
|
// Token: 0x06003FCE RID: 16334 RVA: 0x000D7850 File Offset: 0x000D5A50
|
|
public MulticastNotSupportedException()
|
|
: base(Locale.GetText("This operation cannot be performed with the specified delagates."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MulticastNotSupportedException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The message that describes the error. </param>
|
|
// Token: 0x06003FCF RID: 16335 RVA: 0x000D7864 File Offset: 0x000D5A64
|
|
public MulticastNotSupportedException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.MulticastNotSupportedException" /> 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 a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x06003FD0 RID: 16336 RVA: 0x000D7870 File Offset: 0x000D5A70
|
|
public MulticastNotSupportedException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06003FD1 RID: 16337 RVA: 0x000D787C File Offset: 0x000D5A7C
|
|
internal MulticastNotSupportedException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|