2
2
using System . Net . Sockets ;
3
3
using System . Runtime . Serialization ;
4
4
5
- #if ! NETSTANDARD1_6
5
+ #if ! NETSTANDARD1_3
6
6
using System . Security . Permissions ;
7
7
#endif
8
8
@@ -14,7 +14,7 @@ namespace NetMQ
14
14
/// <summary>
15
15
/// Base class for custom exceptions within the NetMQ library.
16
16
/// </summary>
17
- #if ! NETSTANDARD1_6
17
+ #if ! NETSTANDARD1_3
18
18
[ Serializable ]
19
19
#endif
20
20
public class NetMQException : Exception
@@ -44,7 +44,7 @@ public NetMQException(string message, Exception innerException)
44
44
: base ( message , innerException )
45
45
{ }
46
46
47
- #if ! NETSTANDARD1_6
47
+ #if ! NETSTANDARD1_3
48
48
49
49
/// <summary>Constructor for serialisation.</summary>
50
50
protected NetMQException ( SerializationInfo info , StreamingContext context )
@@ -183,7 +183,7 @@ private static NetMQException Create(ErrorCode errorCode, [CanBeNull] string mes
183
183
/// <summary>
184
184
/// AddressAlreadyInUseException is a NetMQException that is used within SocketBase.Bind to signal an address-conflict.
185
185
/// </summary>
186
- #if ! NETSTANDARD1_6
186
+ #if ! NETSTANDARD1_3
187
187
[ Serializable ]
188
188
#endif
189
189
public class AddressAlreadyInUseException : NetMQException
@@ -207,7 +207,7 @@ public AddressAlreadyInUseException([CanBeNull] string message)
207
207
{
208
208
}
209
209
210
- #if ! NETSTANDARD1_6
210
+ #if ! NETSTANDARD1_3
211
211
/// <summary>Constructor for serialisation.</summary>
212
212
protected AddressAlreadyInUseException ( SerializationInfo info , StreamingContext context )
213
213
: base ( info , context )
@@ -219,7 +219,7 @@ protected AddressAlreadyInUseException(SerializationInfo info, StreamingContext
219
219
/// <summary>
220
220
/// EndpointNotFoundException is a NetMQException that is used within Ctx.FindEndpoint to signal a failure to find a specified address.
221
221
/// </summary>
222
- #if ! NETSTANDARD1_6
222
+ #if ! NETSTANDARD1_3
223
223
[ Serializable ]
224
224
#endif
225
225
public class EndpointNotFoundException : NetMQException
@@ -251,7 +251,7 @@ public EndpointNotFoundException()
251
251
{
252
252
}
253
253
254
- #if ! NETSTANDARD1_6
254
+ #if ! NETSTANDARD1_3
255
255
/// <summary>Constructor for serialisation.</summary>
256
256
protected EndpointNotFoundException ( SerializationInfo info , StreamingContext context )
257
257
: base ( info , context )
@@ -264,7 +264,7 @@ protected EndpointNotFoundException(SerializationInfo info, StreamingContext con
264
264
/// TerminatingException is a NetMQException that is used within SocketBase and Ctx to signal
265
265
/// that you're making the mistake of trying to do further work after terminating the message-queueing system.
266
266
/// </summary>
267
- #if ! NETSTANDARD1_6
267
+ #if ! NETSTANDARD1_3
268
268
[ Serializable ]
269
269
#endif
270
270
public class TerminatingException : NetMQException
@@ -293,7 +293,7 @@ internal TerminatingException()
293
293
: this ( null , null )
294
294
{
295
295
}
296
- #if ! NETSTANDARD1_6
296
+ #if ! NETSTANDARD1_3
297
297
/// <summary>Constructor for serialisation.</summary>
298
298
protected TerminatingException ( SerializationInfo info , StreamingContext context )
299
299
: base ( info , context )
@@ -305,7 +305,7 @@ protected TerminatingException(SerializationInfo info, StreamingContext context)
305
305
/// <summary>
306
306
/// InvalidException is a NetMQException that is used within the message-queueing system to signal invalid value errors.
307
307
/// </summary>
308
- #if ! NETSTANDARD1_6
308
+ #if ! NETSTANDARD1_3
309
309
[ Serializable ]
310
310
#endif
311
311
public class InvalidException : NetMQException
@@ -336,7 +336,7 @@ public InvalidException()
336
336
: this ( null , null )
337
337
{
338
338
}
339
- #if ! NETSTANDARD1_6
339
+ #if ! NETSTANDARD1_3
340
340
/// <summary>Constructor for serialisation.</summary>
341
341
protected InvalidException ( SerializationInfo info , StreamingContext context )
342
342
: base ( info , context )
@@ -348,7 +348,7 @@ protected InvalidException(SerializationInfo info, StreamingContext context)
348
348
/// <summary>
349
349
/// FaultException is a NetMQException that is used within the message-queueing system to signal general fault conditions.
350
350
/// </summary>
351
- #if ! NETSTANDARD1_6
351
+ #if ! NETSTANDARD1_3
352
352
[ Serializable ]
353
353
#endif
354
354
public class FaultException : NetMQException
@@ -379,7 +379,7 @@ public FaultException()
379
379
: this ( null , null )
380
380
{
381
381
}
382
- #if ! NETSTANDARD1_6
382
+ #if ! NETSTANDARD1_3
383
383
/// <summary>Constructor for serialisation.</summary>
384
384
protected FaultException ( SerializationInfo info , StreamingContext context )
385
385
: base ( info , context )
@@ -392,7 +392,7 @@ protected FaultException(SerializationInfo info, StreamingContext context)
392
392
/// ProtocolNotSupportedException is a NetMQException that is used within the message-queueing system to signal
393
393
/// mistakes in properly utilizing the communications protocols.
394
394
/// </summary>
395
- #if ! NETSTANDARD1_6
395
+ #if ! NETSTANDARD1_3
396
396
[ Serializable ]
397
397
#endif
398
398
public class ProtocolNotSupportedException : NetMQException
@@ -423,7 +423,7 @@ public ProtocolNotSupportedException()
423
423
: this ( null , null )
424
424
{
425
425
}
426
- #if ! NETSTANDARD1_6
426
+ #if ! NETSTANDARD1_3
427
427
/// <summary>Constructor for serialisation.</summary>
428
428
protected ProtocolNotSupportedException ( SerializationInfo info , StreamingContext context )
429
429
: base ( info , context )
@@ -436,7 +436,7 @@ protected ProtocolNotSupportedException(SerializationInfo info, StreamingContext
436
436
/// HostUnreachableException is an Exception that is used within the message-queueing system
437
437
/// to signal failures to communicate with a host.
438
438
/// </summary>
439
- #if ! NETSTANDARD1_6
439
+ #if ! NETSTANDARD1_3
440
440
[ Serializable ]
441
441
#endif
442
442
public class HostUnreachableException : NetMQException
@@ -467,7 +467,7 @@ public HostUnreachableException()
467
467
: this ( null , null )
468
468
{
469
469
}
470
- #if ! NETSTANDARD1_6
470
+ #if ! NETSTANDARD1_3
471
471
/// <summary>Constructor for serialisation.</summary>
472
472
protected HostUnreachableException ( SerializationInfo info , StreamingContext context )
473
473
: base ( info , context )
@@ -480,7 +480,7 @@ protected HostUnreachableException(SerializationInfo info, StreamingContext cont
480
480
/// FiniteStateMachineException is an Exception that is used within the message-queueing system
481
481
/// to signal errors in the send/receive order with request/response sockets.
482
482
/// </summary>
483
- #if ! NETSTANDARD1_6
483
+ #if ! NETSTANDARD1_3
484
484
[ Serializable ]
485
485
#endif
486
486
public class FiniteStateMachineException : NetMQException
@@ -511,7 +511,7 @@ public FiniteStateMachineException()
511
511
: this ( null , null )
512
512
{
513
513
}
514
- #if ! NETSTANDARD1_6
514
+ #if ! NETSTANDARD1_3
515
515
/// <summary>Constructor for serialisation.</summary>
516
516
protected FiniteStateMachineException ( SerializationInfo info , StreamingContext context )
517
517
: base ( info , context )
0 commit comments