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
- OdbcEnvironmentHandle.cs
- MimePart.cs
- DrawingBrush.cs
- EvidenceBase.cs
- StreamReader.cs
- HttpListenerRequest.cs
- HighlightComponent.cs
- EventSourceCreationData.cs
- UserNamePasswordClientCredential.cs
- ModelItemCollection.cs
- SqlGatherConsumedAliases.cs
- QueryInterceptorAttribute.cs
- LinqDataSource.cs
- ConfigurationStrings.cs
- ImageKeyConverter.cs
- HTMLTextWriter.cs
- Command.cs
- ZipIOExtraField.cs
- FloaterBaseParagraph.cs
- SqlEnums.cs
- ObjectQueryState.cs
- BaseValidator.cs
- SqlDataSourceAdvancedOptionsForm.cs
- XamlFigureLengthSerializer.cs
- CodeMethodReturnStatement.cs
- MetabaseServerConfig.cs
- OpenTypeCommon.cs
- SafeHGlobalHandleCritical.cs
- HttpException.cs
- ProcessHost.cs
- AnimatedTypeHelpers.cs
- ByteRangeDownloader.cs
- WhitespaceReader.cs
- RoleExceptions.cs
- smtpconnection.cs
- ApplicationBuildProvider.cs
- FormatVersion.cs
- WebPartCollection.cs
- TextServicesManager.cs
- PeerInvitationResponse.cs
- DBProviderConfigurationHandler.cs
- ObjectDataSourceSelectingEventArgs.cs
- ScriptManagerProxy.cs
- Effect.cs
- DataContext.cs
- NamespaceImport.cs
- SafeArrayRankMismatchException.cs
- CommandEventArgs.cs
- CollectionViewSource.cs
- _SSPISessionCache.cs
- NamespaceDisplay.xaml.cs
- ToolStripLabel.cs
- ManagementObjectSearcher.cs
- DrawingContext.cs
- SecurityChannel.cs
- XmlSchemaSimpleType.cs
- parserscommon.cs
- Size.cs
- PointHitTestParameters.cs
- HierarchicalDataSourceIDConverter.cs
- ApplicationSecurityInfo.cs
- ContentIterators.cs
- SizeAnimationClockResource.cs
- SafeEventLogReadHandle.cs
- ObjectDataSourceSelectingEventArgs.cs
- MediaEntryAttribute.cs
- ScrollItemProviderWrapper.cs
- MatrixIndependentAnimationStorage.cs
- OuterGlowBitmapEffect.cs
- MembershipValidatePasswordEventArgs.cs
- ProtocolsConfiguration.cs
- UnicastIPAddressInformationCollection.cs
- ExpressionBinding.cs
- MouseDevice.cs
- VirtualPathProvider.cs
- DoubleAnimationBase.cs
- ModuleElement.cs
- ListViewItemSelectionChangedEvent.cs
- KernelTypeValidation.cs
- AssemblyNameUtility.cs
- BitmapEffectDrawing.cs
- DataListComponentEditor.cs
- FrameworkElementFactory.cs
- GetResponse.cs
- SmtpAuthenticationManager.cs
- MeshGeometry3D.cs
- FormViewRow.cs
- SettingsAttributeDictionary.cs
- TcpTransportElement.cs
- XmlValueConverter.cs
- DBConnectionString.cs
- WebResourceAttribute.cs
- XpsPackagingException.cs
- MissingMethodException.cs
- ConfigXmlText.cs
- ToolStripDropDown.cs
- _SSPIWrapper.cs
- BaseDataBoundControl.cs
- RichTextBoxDesigner.cs
- EntityContainerEntitySet.cs