1 //---------------------------------------------------------------------
2 // <copyright file="ProviderIncompatibleException.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // @backupOwner Microsoft
8 //---------------------------------------------------------------------
14 using System
.Runtime
.Serialization
;
15 using System
.Security
.Permissions
;
18 /// This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider
21 public sealed class ProviderIncompatibleException
: EntityException
24 /// Initializes a new instance of ProviderIncompatibleException
26 public ProviderIncompatibleException()
31 /// Initializes a new instance of ProviderIncompatibleException
33 /// <param name="message"></param>
34 public ProviderIncompatibleException(string message
)
39 /// Constructor that takes a message and an inner exception
41 /// <param name="message"></param>
42 /// <param name="innerException"></param>
43 public ProviderIncompatibleException(string message
, Exception innerException
)
44 : base(message
, innerException
)
48 /// Initializes a new instance of ProviderIncompatibleException
50 /// <param name="info"></param>
51 /// <param name="context"></param>
52 private ProviderIncompatibleException(SerializationInfo info
, StreamingContext context
)