Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapHierarchicalDataSourceView.cs
- OleDbEnumerator.cs
- TraceFilter.cs
- ClientSettingsStore.cs
- RSAOAEPKeyExchangeFormatter.cs
- TypeConverterAttribute.cs
- AssemblyInfo.cs
- WebScriptClientGenerator.cs
- CurrencyWrapper.cs
- RichTextBoxDesigner.cs
- PointHitTestParameters.cs
- SHA384.cs
- RemotingServices.cs
- CodeIdentifier.cs
- XmlDataImplementation.cs
- HostedBindingBehavior.cs
- MutexSecurity.cs
- WebPartCatalogCloseVerb.cs
- Cast.cs
- XPathMessageFilterElement.cs
- Identity.cs
- SevenBitStream.cs
- DataGridViewBand.cs
- FileUpload.cs
- DockingAttribute.cs
- RequestCacheManager.cs
- HtmlInputControl.cs
- DataStreams.cs
- CodeCatchClause.cs
- ImageBrush.cs
- WebPartConnectionsCancelEventArgs.cs
- TextEffect.cs
- CodeExporter.cs
- ClickablePoint.cs
- PortCache.cs
- ThumbAutomationPeer.cs
- SqlDataSourceCache.cs
- GuidConverter.cs
- SqlProcedureAttribute.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DbProviderFactory.cs
- WebBrowsableAttribute.cs
- AssemblyHash.cs
- DataControlCommands.cs
- ByeMessageCD1.cs
- LogicalExpr.cs
- ElementHostAutomationPeer.cs
- BinaryFormatter.cs
- EntityDataSourceColumn.cs
- OLEDB_Util.cs
- _TimerThread.cs
- SpecialNameAttribute.cs
- SerializationHelper.cs
- RequestTimeoutManager.cs
- ObjectTag.cs
- AuthenticationSection.cs
- WebConfigurationFileMap.cs
- LinkArea.cs
- _BufferOffsetSize.cs
- SettingsPropertyCollection.cs
- LinkDescriptor.cs
- XmlUtil.cs
- SchemaSetCompiler.cs
- Serializer.cs
- ContainerParagraph.cs
- entityreference_tresulttype.cs
- BindingSource.cs
- TextElementEnumerator.cs
- SqlWebEventProvider.cs
- URI.cs
- SpellerHighlightLayer.cs
- GregorianCalendar.cs
- AndCondition.cs
- Buffer.cs
- XmlSchemaException.cs
- RNGCryptoServiceProvider.cs
- CompilerResults.cs
- WindowsFormsSynchronizationContext.cs
- MissingMethodException.cs
- Light.cs
- XamlDesignerSerializationManager.cs
- ProxyManager.cs
- CounterSetInstance.cs
- _BaseOverlappedAsyncResult.cs
- DataServiceClientException.cs
- PageSetupDialog.cs
- ProviderSettings.cs
- Clipboard.cs
- DateBoldEvent.cs
- ArgumentReference.cs
- AutomationEventArgs.cs
- RuntimeArgument.cs
- RenderOptions.cs
- XmlLanguage.cs
- LogAppendAsyncResult.cs
- DataProtection.cs
- HtmlEmptyTagControlBuilder.cs
- EntityDataSourceContainerNameConverter.cs
- IIS7UserPrincipal.cs
- HtmlInputCheckBox.cs