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
- RenderCapability.cs
- DataGridViewRowsAddedEventArgs.cs
- CellQuery.cs
- Point3DAnimation.cs
- ImageListStreamer.cs
- ClusterSafeNativeMethods.cs
- SqlMethodAttribute.cs
- WebSysDisplayNameAttribute.cs
- RootNamespaceAttribute.cs
- ObjectStateFormatter.cs
- StreamingContext.cs
- TypeSource.cs
- SafeNativeHandle.cs
- CounterCreationData.cs
- UnmanagedMemoryStreamWrapper.cs
- unsafenativemethodstextservices.cs
- Funcletizer.cs
- ReceiveCompletedEventArgs.cs
- BindingExpressionUncommonField.cs
- SerialReceived.cs
- RectangleConverter.cs
- Point.cs
- AdRotator.cs
- Point3D.cs
- Timer.cs
- ThousandthOfEmRealDoubles.cs
- StandardMenuStripVerb.cs
- EntityDataSource.cs
- PathSegmentCollection.cs
- InputMethodStateChangeEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- ElementsClipboardData.cs
- AnnotationHelper.cs
- FormsAuthenticationEventArgs.cs
- Utils.cs
- datacache.cs
- BufferedGraphicsManager.cs
- HttpWebRequest.cs
- BrowserDefinitionCollection.cs
- GeometryConverter.cs
- MenuRendererClassic.cs
- GenericUI.cs
- controlskin.cs
- _IPv6Address.cs
- DPCustomTypeDescriptor.cs
- TypeLoadException.cs
- PropertyDescriptorComparer.cs
- CacheDependency.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- HelpPage.cs
- FloatMinMaxAggregationOperator.cs
- __Filters.cs
- DataServiceQueryContinuation.cs
- BoolLiteral.cs
- FormsAuthentication.cs
- SoapAttributeAttribute.cs
- Compiler.cs
- RootBrowserWindow.cs
- SqlStream.cs
- DataGridViewColumnConverter.cs
- CryptoConfig.cs
- TemplatedMailWebEventProvider.cs
- StrokeNodeEnumerator.cs
- DummyDataSource.cs
- SecurityAlgorithmSuiteConverter.cs
- CompletedAsyncResult.cs
- IntSecurity.cs
- ListViewEditEventArgs.cs
- CopyCodeAction.cs
- Block.cs
- XamlBrushSerializer.cs
- ClientEventManager.cs
- DataGrid.cs
- ArglessEventHandlerProxy.cs
- EntityException.cs
- Token.cs
- DataViewSetting.cs
- MsmqEncryptionAlgorithm.cs
- StateBag.cs
- PathSegmentCollection.cs
- TimeSpanMinutesConverter.cs
- ReflectionHelper.cs
- UrlAuthFailedErrorFormatter.cs
- NativeMethods.cs
- TimerElapsedEvenArgs.cs
- ErrorFormatterPage.cs
- XsltSettings.cs
- PauseStoryboard.cs
- SR.cs
- ElementsClipboardData.cs
- CharKeyFrameCollection.cs
- RTLAwareMessageBox.cs
- DataGridViewComboBoxColumn.cs
- ScrollChrome.cs
- Camera.cs
- ProxyGenerator.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- SqlDataSourceCommandEventArgs.cs
- DataColumn.cs
- RemotingAttributes.cs