Code:
/ DotNET / DotNET / 8.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
- PropertyOverridesDialog.cs
- RoutedPropertyChangedEventArgs.cs
- WebRequestModuleElement.cs
- DataSourceControl.cs
- SoapConverter.cs
- HtmlElement.cs
- ObjectSet.cs
- DocumentDesigner.cs
- RNGCryptoServiceProvider.cs
- KeyPressEvent.cs
- DbDataSourceEnumerator.cs
- PeerApplication.cs
- _SpnDictionary.cs
- contentDescriptor.cs
- CodeTypeDeclaration.cs
- SortedDictionary.cs
- WindowsProgressbar.cs
- HtmlElementCollection.cs
- TypeUnloadedException.cs
- FileStream.cs
- CurrentChangedEventManager.cs
- UIAgentMonitorHandle.cs
- DependencyPropertyHelper.cs
- InvokePatternIdentifiers.cs
- StorageInfo.cs
- SizeKeyFrameCollection.cs
- ImageClickEventArgs.cs
- QilReference.cs
- DbMetaDataFactory.cs
- MaterialGroup.cs
- Int16.cs
- XPathCompileException.cs
- SettingsPropertyValue.cs
- RawUIStateInputReport.cs
- ConnectionString.cs
- OracleLob.cs
- WebFaultClientMessageInspector.cs
- HtmlGenericControl.cs
- UserControl.cs
- FontClient.cs
- TextEffect.cs
- smtpconnection.cs
- TileBrush.cs
- CodeAttributeArgumentCollection.cs
- MouseActionConverter.cs
- HtmlInputReset.cs
- SBCSCodePageEncoding.cs
- DataGridViewCellEventArgs.cs
- Set.cs
- OperationCanceledException.cs
- SqlDataSourceSummaryPanel.cs
- GridViewDeleteEventArgs.cs
- TextBox.cs
- Brush.cs
- TextEditorTyping.cs
- EntityDescriptor.cs
- XNodeValidator.cs
- XmlILOptimizerVisitor.cs
- LineProperties.cs
- SafeRightsManagementQueryHandle.cs
- SerializationSectionGroup.cs
- ButtonAutomationPeer.cs
- TemplateBindingExpression.cs
- DoubleAnimationUsingPath.cs
- TriState.cs
- VBCodeProvider.cs
- RowUpdatedEventArgs.cs
- ColorMap.cs
- ExpressionCopier.cs
- Directory.cs
- EventWaitHandleSecurity.cs
- ScriptingRoleServiceSection.cs
- XmlSchemaSimpleContent.cs
- WebRequestModuleElementCollection.cs
- SafeFileMappingHandle.cs
- WindowsScroll.cs
- TimelineGroup.cs
- NativeMethods.cs
- Rotation3DKeyFrameCollection.cs
- ParallelTimeline.cs
- DnsPermission.cs
- DateTimeFormat.cs
- DataListItemEventArgs.cs
- KeySpline.cs
- StorageMappingItemLoader.cs
- ListViewAutomationPeer.cs
- ReferencedAssembly.cs
- SplashScreenNativeMethods.cs
- AbandonedMutexException.cs
- HtmlUtf8RawTextWriter.cs
- ProxyWebPartManager.cs
- Cursor.cs
- CellQuery.cs
- WeakEventManager.cs
- ExtenderControl.cs
- SchemaType.cs
- OdbcRowUpdatingEvent.cs
- SignatureGenerator.cs
- ThreadSafeList.cs
- DbProviderSpecificTypePropertyAttribute.cs