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
- CommonGetThemePartSize.cs
- BitmapEffect.cs
- DES.cs
- RectAnimationUsingKeyFrames.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- X509Certificate2.cs
- DataKeyArray.cs
- XmlChoiceIdentifierAttribute.cs
- CfgRule.cs
- messageonlyhwndwrapper.cs
- BinaryConverter.cs
- EntryWrittenEventArgs.cs
- DotAtomReader.cs
- ImplicitInputBrush.cs
- BmpBitmapDecoder.cs
- CodeStatementCollection.cs
- SqlParameterizer.cs
- OdbcTransaction.cs
- IconConverter.cs
- ContextProperty.cs
- UnitySerializationHolder.cs
- SmtpNegotiateAuthenticationModule.cs
- Preprocessor.cs
- WorkflowInstanceProvider.cs
- QuestionEventArgs.cs
- PenThreadPool.cs
- MemoryFailPoint.cs
- HebrewNumber.cs
- DefinitionBase.cs
- BackgroundWorker.cs
- CharacterMetricsDictionary.cs
- CapabilitiesPattern.cs
- hwndwrapper.cs
- ProgressBarBrushConverter.cs
- ParseHttpDate.cs
- ObjectViewFactory.cs
- ActivityExecutor.cs
- InputScope.cs
- StandardRuntimeEnumValidator.cs
- ResXFileRef.cs
- DispatcherSynchronizationContext.cs
- CategoriesDocument.cs
- MgmtConfigurationRecord.cs
- CodeBinaryOperatorExpression.cs
- SimpleColumnProvider.cs
- ListViewUpdateEventArgs.cs
- LicFileLicenseProvider.cs
- ExceptionWrapper.cs
- SqlDataSourceConfigureSortForm.cs
- MultilineStringEditor.cs
- DataKeyCollection.cs
- xmlfixedPageInfo.cs
- PrincipalPermission.cs
- SwitchAttribute.cs
- DesignerCategoryAttribute.cs
- Transactions.cs
- ColorInterpolationModeValidation.cs
- ContentFilePart.cs
- InvokePatternIdentifiers.cs
- WindowsScrollBar.cs
- ColorConvertedBitmap.cs
- ConfigurationConverterBase.cs
- ComEventsInfo.cs
- BamlMapTable.cs
- RequestChannelBinder.cs
- SplitterEvent.cs
- BinaryObjectInfo.cs
- TemplateBindingExpression.cs
- HtmlTable.cs
- DataGridViewColumn.cs
- CheckBoxStandardAdapter.cs
- AstNode.cs
- Token.cs
- CodeTypeReference.cs
- OptimalTextSource.cs
- StackOverflowException.cs
- SqlBuilder.cs
- RichTextBox.cs
- UnicodeEncoding.cs
- ReadOnlyDataSource.cs
- DependencyObject.cs
- SqlDataSourceTableQuery.cs
- WebPartConnectionsDisconnectVerb.cs
- ExtensionQuery.cs
- EmptyControlCollection.cs
- FullTextLine.cs
- StrongNameSignatureInformation.cs
- AlphabeticalEnumConverter.cs
- XsdCachingReader.cs
- EventNotify.cs
- DbProviderConfigurationHandler.cs
- OAVariantLib.cs
- StringAttributeCollection.cs
- activationcontext.cs
- SqlRowUpdatedEvent.cs
- QilCloneVisitor.cs
- SecurityException.cs
- SecurityUtils.cs
- PolicyDesigner.cs
- ConfigurationManager.cs