summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Common/AMQChannelClosedException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Qpid.Common/AMQChannelClosedException.cs')
-rw-r--r--dotnet/Qpid.Common/AMQChannelClosedException.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/dotnet/Qpid.Common/AMQChannelClosedException.cs b/dotnet/Qpid.Common/AMQChannelClosedException.cs
index 957e3b627d..77d8c06802 100644
--- a/dotnet/Qpid.Common/AMQChannelClosedException.cs
+++ b/dotnet/Qpid.Common/AMQChannelClosedException.cs
@@ -18,13 +18,23 @@
* under the License.
*
*/
+
+using System;
+using System.Runtime.Serialization;
+
namespace Qpid
{
+ [Serializable]
public class AMQChannelClosedException : AMQException
{
public AMQChannelClosedException(int errorCode, string message)
: base(errorCode, message)
{
}
+
+ protected AMQChannelClosedException(SerializationInfo info, StreamingContext ctxt)
+ : base(info, ctxt)
+ {
+ }
}
}