Skip to content

Commit b4c56d5

Browse files
committed
Custom exception constructors for binary serialization are now obsolete
1 parent d7fad8b commit b4c56d5

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace ServiceControlInstaller.Engine.Queues
22
{
33
using System;
4-
using System.Runtime.Serialization;
54

65
public class QueueCreationFailedException : Exception
76
{
@@ -12,11 +11,5 @@ public QueueCreationFailedException(string message) : base(message)
1211
public QueueCreationFailedException(string message, Exception inner) : base(message, inner)
1312
{
1413
}
15-
16-
protected QueueCreationFailedException(
17-
SerializationInfo info,
18-
StreamingContext context) : base(info, context)
19-
{
20-
}
2114
}
2215
}
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace ServiceControlInstaller.Engine.Queues
22
{
33
using System;
4-
using System.Runtime.Serialization;
54

65
public class QueueCreationTimeoutException : Exception
76
{
@@ -12,11 +11,5 @@ public QueueCreationTimeoutException(string message) : base(message)
1211
public QueueCreationTimeoutException(string message, Exception inner) : base(message, inner)
1312
{
1413
}
15-
16-
protected QueueCreationTimeoutException(
17-
SerializationInfo info,
18-
StreamingContext context) : base(info, context)
19-
{
20-
}
2114
}
2215
}
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace ServiceControlInstaller.Engine.Queues
22
{
33
using System;
4-
using System.Runtime.Serialization;
54

65
public class ServiceControlQueueCreationTimeoutException : Exception
76
{
@@ -12,11 +11,5 @@ public ServiceControlQueueCreationTimeoutException(string message) : base(messag
1211
public ServiceControlQueueCreationTimeoutException(string message, Exception inner) : base(message, inner)
1312
{
1413
}
15-
16-
protected ServiceControlQueueCreationTimeoutException(
17-
SerializationInfo info,
18-
StreamingContext context) : base(info, context)
19-
{
20-
}
2114
}
2215
}

0 commit comments

Comments
 (0)