Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / ExceptionList.cs / 1 / ExceptionList.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security; using System.Security.Principal; using System.IO; using Microsoft.InfoCards.Diagnostics; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // abstracts a simple list of exception types. // internal sealed class ExceptionList { public static ExceptionList AllNonFatal = new ExceptionList(); public static ExceptionList Empty = new ExceptionList(); Dictionary< Type, Type > m_list; private ExceptionList() { m_list = new Dictionary< Type, Type >( 0 ); } public bool Contains( Type exceptionType ) { return m_list.ContainsKey( exceptionType ); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceOperation.cs
- DispatcherTimer.cs
- HandlerFactoryCache.cs
- XmlNodeComparer.cs
- OdbcRowUpdatingEvent.cs
- SourceFileBuildProvider.cs
- NativeCppClassAttribute.cs
- FixedSOMTableCell.cs
- LicenseException.cs
- ComplexType.cs
- ToolBarDesigner.cs
- SystemIPInterfaceProperties.cs
- TextStore.cs
- SafeLocalMemHandle.cs
- RawStylusSystemGestureInputReport.cs
- StatusBarAutomationPeer.cs
- CultureNotFoundException.cs
- TraceContextEventArgs.cs
- ObjectSet.cs
- Mapping.cs
- TextParagraphView.cs
- Accessible.cs
- ErrorFormatter.cs
- PtsHost.cs
- ModifierKeysValueSerializer.cs
- PrimitiveXmlSerializers.cs
- IIS7UserPrincipal.cs
- ConnectionStringsSection.cs
- StubHelpers.cs
- SecUtil.cs
- CultureInfoConverter.cs
- FormsIdentity.cs
- CollectionsUtil.cs
- BinHexEncoder.cs
- CurrentTimeZone.cs
- ResXResourceSet.cs
- SignatureConfirmationElement.cs
- X509SecurityToken.cs
- MatrixTransform3D.cs
- ExpressionBinding.cs
- FontCacheLogic.cs
- COAUTHINFO.cs
- NullEntityWrapper.cs
- LinearGradientBrush.cs
- SizeConverter.cs
- DetailsViewActionList.cs
- XmlSerializableServices.cs
- BitmapDecoder.cs
- KoreanLunisolarCalendar.cs
- FunctionGenerator.cs
- SerializableAttribute.cs
- TypeElementCollection.cs
- DBBindings.cs
- ProjectionPathBuilder.cs
- Win32SafeHandles.cs
- XmlSchemaAttributeGroup.cs
- MetadataCache.cs
- ActiveXHost.cs
- PathFigure.cs
- PasswordTextContainer.cs
- TableRow.cs
- WebReferencesBuildProvider.cs
- InstanceNameConverter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- HttpCacheParams.cs
- WebSysDisplayNameAttribute.cs
- DataGridLinkButton.cs
- XmlSchemaAll.cs
- OracleSqlParser.cs
- TextElementEnumerator.cs
- WebPartExportVerb.cs
- HtmlHead.cs
- Propagator.Evaluator.cs
- DrawListViewColumnHeaderEventArgs.cs
- FileRegion.cs
- SoapReflectionImporter.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ColorTransformHelper.cs
- DataObject.cs
- HandlerMappingMemo.cs
- RtType.cs
- DefinitionBase.cs
- Tuple.cs
- FixUpCollection.cs
- ActivityTypeDesigner.xaml.cs
- SplineKeyFrames.cs
- AlignmentXValidation.cs
- PasswordTextNavigator.cs
- FrugalList.cs
- PageFunction.cs
- HtmlInputCheckBox.cs
- ExpressionBindingCollection.cs
- Int16.cs
- Variable.cs
- EmptyStringExpandableObjectConverter.cs
- Quaternion.cs
- Vector3DKeyFrameCollection.cs
- PropertyFilter.cs
- ExtensionSimplifierMarkupObject.cs
- MessagePropertyVariants.cs