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
- UpdateRecord.cs
- DesignerLabelAdapter.cs
- XmlnsCache.cs
- BufferedWebEventProvider.cs
- NumberFunctions.cs
- DataSourceView.cs
- FreezableDefaultValueFactory.cs
- DataControlImageButton.cs
- LongValidator.cs
- DesignerDataTable.cs
- SudsParser.cs
- PerspectiveCamera.cs
- FullTextBreakpoint.cs
- DelegatedStream.cs
- PropertyNames.cs
- BufferModeSettings.cs
- Screen.cs
- ContractNamespaceAttribute.cs
- CodeAttachEventStatement.cs
- FormatConvertedBitmap.cs
- LineInfo.cs
- WorkflowMarkupSerializationManager.cs
- _emptywebproxy.cs
- TypeBrowserDialog.cs
- IntSecurity.cs
- DragEvent.cs
- ActivityLocationReferenceEnvironment.cs
- FunctionDescription.cs
- MemberProjectedSlot.cs
- DispatchWrapper.cs
- HttpModuleActionCollection.cs
- ObjectTokenCategory.cs
- FixedHighlight.cs
- RightsManagementEncryptedStream.cs
- TextDecorationCollectionConverter.cs
- GeometryHitTestResult.cs
- TimeoutValidationAttribute.cs
- HandledMouseEvent.cs
- TaskSchedulerException.cs
- WebServiceParameterData.cs
- TraceContext.cs
- XmlNodeList.cs
- EntityContainerEntitySet.cs
- SchemaMerger.cs
- TimeSpanOrInfiniteConverter.cs
- Knowncolors.cs
- ObjectDataSourceStatusEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- FaultFormatter.cs
- Command.cs
- TableRowCollection.cs
- CodeTryCatchFinallyStatement.cs
- ThicknessKeyFrameCollection.cs
- LogicalExpressionTypeConverter.cs
- NativeMethods.cs
- DelegatingConfigHost.cs
- Blend.cs
- ParallelEnumerable.cs
- XmlObjectSerializer.cs
- ObfuscationAttribute.cs
- CodeDomSerializerException.cs
- HasCopySemanticsAttribute.cs
- UrlAuthorizationModule.cs
- SymDocumentType.cs
- basecomparevalidator.cs
- XmlSchemaCollection.cs
- HTTPNotFoundHandler.cs
- XmlImplementation.cs
- EntityKeyElement.cs
- DesignerSerializationVisibilityAttribute.cs
- _DynamicWinsockMethods.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- HMACMD5.cs
- FragmentQuery.cs
- AggregateNode.cs
- RewritingValidator.cs
- XPathNode.cs
- TemplateControl.cs
- FixedPosition.cs
- ProviderManager.cs
- XmlAtomicValue.cs
- PromptStyle.cs
- SafeLibraryHandle.cs
- MeasurementDCInfo.cs
- ADMembershipProvider.cs
- PageMediaType.cs
- Pair.cs
- SpeechUI.cs
- HMACSHA384.cs
- StylusTip.cs
- GradientStopCollection.cs
- BaseDataBoundControl.cs
- DaylightTime.cs
- DataGridrowEditEndingEventArgs.cs
- AmbientLight.cs
- ErrorWrapper.cs
- SecurityState.cs
- EventWaitHandleSecurity.cs
- XsdValidatingReader.cs
- Message.cs