Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / XMLSyntaxException.cs / 1 / XMLSyntaxException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Security { using System; using System.Runtime.Serialization; using System.Globalization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] sealed public class XmlSyntaxException : SystemException { public XmlSyntaxException () : base (Environment.GetResourceString( "XMLSyntax_InvalidSyntax" )) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message) : base (message) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message, Exception inner) : base (message, inner) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (int lineNumber) : base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException( int lineNumber, String message ) : base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } internal XmlSyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Security { using System; using System.Runtime.Serialization; using System.Globalization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] sealed public class XmlSyntaxException : SystemException { public XmlSyntaxException () : base (Environment.GetResourceString( "XMLSyntax_InvalidSyntax" )) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message) : base (message) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message, Exception inner) : base (message, inner) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (int lineNumber) : base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException( int lineNumber, String message ) : base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } internal XmlSyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // 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
- ModelServiceImpl.cs
- SimpleMailWebEventProvider.cs
- ResolveNameEventArgs.cs
- RowBinding.cs
- SrgsToken.cs
- MDIWindowDialog.cs
- TypeConverters.cs
- IfJoinedCondition.cs
- ListViewInsertedEventArgs.cs
- ImageCodecInfo.cs
- DataColumnChangeEvent.cs
- DependencyObjectValidator.cs
- XmlNamespaceDeclarationsAttribute.cs
- ResourcesBuildProvider.cs
- HostUtils.cs
- Types.cs
- WebPartZone.cs
- EntityViewGenerationAttribute.cs
- ListenerUnsafeNativeMethods.cs
- SubstitutionList.cs
- ConfigXmlWhitespace.cs
- ClientSideProviderDescription.cs
- ProcessInputEventArgs.cs
- FontSource.cs
- RotateTransform.cs
- XmlCountingReader.cs
- ZipArchive.cs
- DataGridViewComboBoxCell.cs
- ByteStorage.cs
- SemanticBasicElement.cs
- LinqExpressionNormalizer.cs
- HybridDictionary.cs
- QueryExpr.cs
- ADMembershipProvider.cs
- DataSet.cs
- ResourceExpression.cs
- PersonalizationProviderHelper.cs
- ScriptModule.cs
- SqlUserDefinedTypeAttribute.cs
- XmlIgnoreAttribute.cs
- DriveInfo.cs
- ParserOptions.cs
- SqlTransaction.cs
- Connector.xaml.cs
- AspNetSynchronizationContext.cs
- SatelliteContractVersionAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- InfoCardSymmetricAlgorithm.cs
- ToolStripContainer.cs
- MemoryResponseElement.cs
- TextParagraphCache.cs
- MarkupWriter.cs
- EntityProviderServices.cs
- CngUIPolicy.cs
- DrawListViewColumnHeaderEventArgs.cs
- ChtmlLinkAdapter.cs
- AttachedPropertyMethodSelector.cs
- HitTestDrawingContextWalker.cs
- SrgsItemList.cs
- CodeDomConfigurationHandler.cs
- BitmapImage.cs
- DataBoundControl.cs
- EventLogPermission.cs
- DispatcherProcessingDisabled.cs
- DomNameTable.cs
- CommunicationException.cs
- SelectorAutomationPeer.cs
- WebPartHeaderCloseVerb.cs
- ControlBuilderAttribute.cs
- TypeDescriptionProvider.cs
- ListItemsPage.cs
- BuildDependencySet.cs
- XPathScanner.cs
- CommandEventArgs.cs
- DnsEndPoint.cs
- Function.cs
- WindowExtensionMethods.cs
- SchemaImporterExtensionsSection.cs
- ImportCatalogPart.cs
- XmlNodeChangedEventManager.cs
- SmtpMail.cs
- SmtpTransport.cs
- login.cs
- XmlParserContext.cs
- IntegerValidatorAttribute.cs
- OdbcErrorCollection.cs
- DoubleConverter.cs
- ConditionalWeakTable.cs
- __Error.cs
- ConfigPathUtility.cs
- UnsafeMethods.cs
- SystemIcmpV6Statistics.cs
- SegmentInfo.cs
- ExceptionRoutedEventArgs.cs
- BamlLocalizabilityResolver.cs
- XmlObjectSerializerReadContext.cs
- ConsoleTraceListener.cs
- HttpProfileBase.cs
- DbProviderFactories.cs
- GridViewUpdatedEventArgs.cs