Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / InfoCardBaseException.cs / 1305376 / InfoCardBaseException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Runtime.Serialization; [Serializable] internal abstract class InfoCardBaseException : System.Exception { private bool m_logged = false; private string m_extendedMessage; // Extended message string protected InfoCardBaseException( int result ) : base() { HResult = result; } protected InfoCardBaseException( int result, string message ) : base( message ) { HResult = result; } protected InfoCardBaseException( int result, string message, string extendedMessage ) : base( message ) { HResult = result; m_extendedMessage = extendedMessage; } protected InfoCardBaseException( int result, string message, Exception innerException ) : base( message, innerException ) { HResult = result; } protected InfoCardBaseException( int result, SerializationInfo info, StreamingContext context ) : base( info, context ) { HResult = result; } public int NativeHResult { get { return HResult; } } public bool Logged { get { return m_logged; } } public void MarkLogged() { m_logged = true; } public string ExtendedMessage { get { return m_extendedMessage; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Runtime.Serialization; [Serializable] internal abstract class InfoCardBaseException : System.Exception { private bool m_logged = false; private string m_extendedMessage; // Extended message string protected InfoCardBaseException( int result ) : base() { HResult = result; } protected InfoCardBaseException( int result, string message ) : base( message ) { HResult = result; } protected InfoCardBaseException( int result, string message, string extendedMessage ) : base( message ) { HResult = result; m_extendedMessage = extendedMessage; } protected InfoCardBaseException( int result, string message, Exception innerException ) : base( message, innerException ) { HResult = result; } protected InfoCardBaseException( int result, SerializationInfo info, StreamingContext context ) : base( info, context ) { HResult = result; } public int NativeHResult { get { return HResult; } } public bool Logged { get { return m_logged; } } public void MarkLogged() { m_logged = true; } public string ExtendedMessage { get { return m_extendedMessage; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateBamlTreeBuilder.cs
- Win32.cs
- HttpWriter.cs
- IntegerFacetDescriptionElement.cs
- SqlConnection.cs
- TextTrailingWordEllipsis.cs
- XhtmlTextWriter.cs
- _SslStream.cs
- WorkflowFileItem.cs
- ConfigurationLocation.cs
- DataGridClipboardCellContent.cs
- HierarchicalDataBoundControl.cs
- SubMenuStyle.cs
- ListCollectionView.cs
- WebBrowserDocumentCompletedEventHandler.cs
- TypeDependencyAttribute.cs
- DllNotFoundException.cs
- SqlDataSourceCommandEventArgs.cs
- InvokeSchedule.cs
- ViewGenResults.cs
- IBuiltInEvidence.cs
- SimplePropertyEntry.cs
- Pen.cs
- SqlFactory.cs
- OSFeature.cs
- LambdaCompiler.ControlFlow.cs
- EndOfStreamException.cs
- SqlXml.cs
- TrackingServices.cs
- AnnotationAdorner.cs
- baseaxisquery.cs
- Argument.cs
- Utility.cs
- OleDbError.cs
- WindowsGraphicsCacheManager.cs
- WebPartDeleteVerb.cs
- EdgeProfileValidation.cs
- WebPartConnectionsCancelEventArgs.cs
- IISMapPath.cs
- DataGridState.cs
- URIFormatException.cs
- LinqDataView.cs
- LifetimeServices.cs
- OpCellTreeNode.cs
- StickyNote.cs
- DataGridRow.cs
- XmlWriter.cs
- QueryExpr.cs
- NotifyInputEventArgs.cs
- DynamicPropertyReader.cs
- TableSectionStyle.cs
- SByte.cs
- HttpDebugHandler.cs
- IDQuery.cs
- AxisAngleRotation3D.cs
- QilTernary.cs
- XmlTextAttribute.cs
- HttpRequest.cs
- LayoutManager.cs
- ButtonField.cs
- _SpnDictionary.cs
- KerberosSecurityTokenProvider.cs
- XmlNodeChangedEventManager.cs
- Win32Interop.cs
- SqlProfileProvider.cs
- ComponentDispatcherThread.cs
- ASCIIEncoding.cs
- PreDigestedSignedInfo.cs
- SingleConverter.cs
- XmlUrlResolver.cs
- XmlObjectSerializerWriteContext.cs
- OneWayElement.cs
- XmlCharCheckingWriter.cs
- CacheDependency.cs
- InfoCardProofToken.cs
- X509Certificate2Collection.cs
- _UriSyntax.cs
- DerivedKeySecurityToken.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- DynamicActivityTypeDescriptor.cs
- Int64Storage.cs
- ConfigXmlCDataSection.cs
- DataGridViewCellStyle.cs
- SymmetricAlgorithm.cs
- TreeNode.cs
- PlaceHolder.cs
- _ContextAwareResult.cs
- TemplateManager.cs
- SqlDataReader.cs
- CultureTable.cs
- ProfessionalColorTable.cs
- _TransmitFileOverlappedAsyncResult.cs
- Rotation3DKeyFrameCollection.cs
- XMLUtil.cs
- X500Name.cs
- FrameworkElement.cs
- Focus.cs
- OuterGlowBitmapEffect.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- HttpStaticObjectsCollectionBase.cs