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
- IssuanceLicense.cs
- TreePrinter.cs
- AspCompat.cs
- ProxyGenerator.cs
- BrushValueSerializer.cs
- DeobfuscatingStream.cs
- AdRotator.cs
- ExternalException.cs
- _ConnectOverlappedAsyncResult.cs
- uribuilder.cs
- DoubleCollectionConverter.cs
- xmlsaver.cs
- Timer.cs
- XmlUnspecifiedAttribute.cs
- XmlSchemaException.cs
- HttpProfileGroupBase.cs
- DbProviderManifest.cs
- ContourSegment.cs
- Repeater.cs
- DesignerCalendarAdapter.cs
- JsonSerializer.cs
- JsonServiceDocumentSerializer.cs
- pingexception.cs
- ParenthesizePropertyNameAttribute.cs
- CustomMenuItemCollection.cs
- CodeCommentStatementCollection.cs
- PagedDataSource.cs
- processwaithandle.cs
- Utils.cs
- _TimerThread.cs
- SqlDeflator.cs
- WebConfigurationHostFileChange.cs
- WeakHashtable.cs
- XmlSchemaParticle.cs
- SqlBulkCopyColumnMapping.cs
- MemberProjectionIndex.cs
- DynamicRenderer.cs
- JapaneseLunisolarCalendar.cs
- ImageMetadata.cs
- HtmlTernaryTree.cs
- FilePrompt.cs
- EnterpriseServicesHelper.cs
- KeyboardDevice.cs
- namescope.cs
- SafeCertificateStore.cs
- StringDictionary.cs
- RepeatInfo.cs
- Operand.cs
- SmiGettersStream.cs
- DiscoveryMessageSequence11.cs
- MultiTrigger.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- Preprocessor.cs
- ErrorFormatter.cs
- SettingsContext.cs
- StringConverter.cs
- AsyncResult.cs
- Registry.cs
- SchemaImporterExtensionElement.cs
- GenericRootAutomationPeer.cs
- ValueExpressions.cs
- ResolveInfo.cs
- BackStopAuthenticationModule.cs
- TraceLevelStore.cs
- MethodBuilderInstantiation.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- ItemMap.cs
- AttributeEmitter.cs
- TypeConverterHelper.cs
- SchemaTypeEmitter.cs
- PreparingEnlistment.cs
- AstTree.cs
- SizeChangedInfo.cs
- ToolStripRenderer.cs
- BindingNavigatorDesigner.cs
- TextEndOfLine.cs
- EventMappingSettings.cs
- ProxyFragment.cs
- MatrixKeyFrameCollection.cs
- MailBnfHelper.cs
- InternalResources.cs
- XmlMembersMapping.cs
- EntityDataSource.cs
- XmlSchemaAttributeGroupRef.cs
- NonNullItemCollection.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- DataServiceConfiguration.cs
- OperationAbortedException.cs
- StateRuntime.cs
- NestedContainer.cs
- CodeGenerator.cs
- SingleStorage.cs
- InfiniteTimeSpanConverter.cs
- QueueProcessor.cs
- GridItemPattern.cs
- TransformConverter.cs
- CatalogPartChrome.cs
- FillRuleValidation.cs
- PassportIdentity.cs
- MonikerUtility.cs