//--------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; using System.Security.Permissions; /// /// This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider /// [Serializable] public sealed class ProviderIncompatibleException : EntityException { /// /// Initializes a new instance of ProviderIncompatibleException /// public ProviderIncompatibleException() : base() { } /// /// Initializes a new instance of ProviderIncompatibleException /// /// public ProviderIncompatibleException(string message) : base(message) { } /// /// Constructor that takes a message and an inner exception /// /// /// public ProviderIncompatibleException(string message, Exception innerException) : base(message, innerException) { } /// /// Initializes a new instance of ProviderIncompatibleException /// /// /// private ProviderIncompatibleException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }