/Katmai_July_CTP/ShoppingCart/ShoppingCartService/CS/ShoppingCartService/InvalidMessageException.cs
# · C# · 36 lines · 16 code · 6 blank · 14 comment · 0 complexity · 8076cbde5af595a2f32b39c8178dd744 MD5 · raw file
- //-----------------------------------------------------------------------
- // This file is part of the Microsoft Code Samples.
- //
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //
- //This source code is intended only as a supplement to Microsoft
- //Development Tools and/or on-line documentation. See these other
- //materials for detailed information regarding Microsoft code samples.
- //
- //THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
- //KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- //IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- //PARTICULAR PURPOSE.
- //-----------------------------------------------------------------------
-
- #region Using directives
-
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- #endregion
-
- namespace Microsoft.Samples.SqlServer
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
- public class InvalidMessageException : Exception
- {
- public const int ErrorCode = 1001;
-
- public InvalidMessageException(string message)
- : base(message)
- { }
-
- }
- }