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
- RayHitTestParameters.cs
- KerberosTicketHashIdentifierClause.cs
- GridViewHeaderRowPresenter.cs
- ObsoleteAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- EndEvent.cs
- Rotation3D.cs
- BridgeDataReader.cs
- TraceContextRecord.cs
- ApplicationManager.cs
- ProcessHostConfigUtils.cs
- Base64Stream.cs
- ItemCheckEvent.cs
- DataGridColumnCollection.cs
- _SSPISessionCache.cs
- FontWeightConverter.cs
- RepeatButtonAutomationPeer.cs
- DynamicQueryableWrapper.cs
- Button.cs
- GridViewSortEventArgs.cs
- TableSectionStyle.cs
- AppDomainProtocolHandler.cs
- XmlCharCheckingReader.cs
- TransactionInterop.cs
- ToolBarButtonClickEvent.cs
- ConfigurationPropertyCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- RequestCachePolicyConverter.cs
- CompressionTracing.cs
- SourceExpressionException.cs
- LinqExpressionNormalizer.cs
- StringDictionaryCodeDomSerializer.cs
- BaseDataListComponentEditor.cs
- BamlReader.cs
- EdmComplexTypeAttribute.cs
- DbConnectionPoolGroupProviderInfo.cs
- SeverityFilter.cs
- PnrpPeerResolverBindingElement.cs
- ToolStripItemClickedEventArgs.cs
- PackageProperties.cs
- LinkClickEvent.cs
- XmlDocumentFragment.cs
- TemplateBindingExpressionConverter.cs
- DataTableExtensions.cs
- Symbol.cs
- WindowsRegion.cs
- ViewgenGatekeeper.cs
- StructuralObject.cs
- Container.cs
- SqlBuffer.cs
- IntranetCredentialPolicy.cs
- Single.cs
- RadioButtonFlatAdapter.cs
- PanelDesigner.cs
- PackageStore.cs
- ServiceDiscoveryBehavior.cs
- MemoryFailPoint.cs
- Section.cs
- ConnectionsZone.cs
- DiffuseMaterial.cs
- AnnotationDocumentPaginator.cs
- Graphics.cs
- XmlSchemaSimpleTypeList.cs
- HttpModulesSection.cs
- Point3DCollectionValueSerializer.cs
- BindingList.cs
- BinarySerializer.cs
- SolidBrush.cs
- LinkClickEvent.cs
- ErrorsHelper.cs
- Container.cs
- Int32AnimationBase.cs
- SqlDataRecord.cs
- Misc.cs
- Region.cs
- SafeProcessHandle.cs
- TextShapeableCharacters.cs
- WorkerProcess.cs
- Pair.cs
- TranslateTransform.cs
- DependencyObject.cs
- HashAlgorithm.cs
- CapiSafeHandles.cs
- PolicyLevel.cs
- ApplicationDirectoryMembershipCondition.cs
- SmiRequestExecutor.cs
- DataGridViewEditingControlShowingEventArgs.cs
- FixedSOMElement.cs
- ProfileServiceManager.cs
- ValueChangedEventManager.cs
- _ScatterGatherBuffers.cs
- SqlFunctionAttribute.cs
- XmlArrayAttribute.cs
- FamilyCollection.cs
- RecordsAffectedEventArgs.cs
- BatchWriter.cs
- SupportsEventValidationAttribute.cs
- SymbolTable.cs
- PreviewKeyDownEventArgs.cs
- SourceFileBuildProvider.cs