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
- CodeCatchClauseCollection.cs
- StringResourceManager.cs
- VariableAction.cs
- BinaryWriter.cs
- DataGridTextColumn.cs
- ButtonFieldBase.cs
- CodeObject.cs
- COM2PropertyBuilderUITypeEditor.cs
- LinkTarget.cs
- FormViewPagerRow.cs
- URLBuilder.cs
- CommonXSendMessage.cs
- CacheModeConverter.cs
- WebPartsSection.cs
- RadioButtonAutomationPeer.cs
- ReadWriteSpinLock.cs
- AssertFilter.cs
- AssemblyCollection.cs
- GotoExpression.cs
- XmlNodeWriter.cs
- AtomicFile.cs
- CallbackHandler.cs
- TransactionFlowBindingElementImporter.cs
- SplashScreen.cs
- CollectionChangedEventManager.cs
- AdapterSwitches.cs
- Command.cs
- DiagnosticsConfiguration.cs
- WorkflowInstanceProxy.cs
- CharStorage.cs
- TextViewBase.cs
- ScrollPatternIdentifiers.cs
- SystemBrushes.cs
- SymLanguageType.cs
- DesignerOptionService.cs
- WebPartZoneAutoFormat.cs
- Message.cs
- Path.cs
- PaperSource.cs
- HttpDictionary.cs
- IEnumerable.cs
- CheckBoxFlatAdapter.cs
- ImageSource.cs
- PolyLineSegment.cs
- StorageComplexTypeMapping.cs
- CodeTypeDeclarationCollection.cs
- KeyValueSerializer.cs
- RequiredFieldValidator.cs
- Renderer.cs
- Membership.cs
- OracleCommandSet.cs
- Separator.cs
- AssociationSetEnd.cs
- BCLDebug.cs
- TreePrinter.cs
- Parser.cs
- DocumentOrderQuery.cs
- _BasicClient.cs
- SkipQueryOptionExpression.cs
- GroupLabel.cs
- BaseCodePageEncoding.cs
- RegexTree.cs
- ObjectQueryProvider.cs
- TextServicesContext.cs
- ReceiveContextCollection.cs
- Utils.cs
- ProcessHostServerConfig.cs
- Membership.cs
- MenuItemAutomationPeer.cs
- ArraySubsetEnumerator.cs
- BasePropertyDescriptor.cs
- TextTreeInsertElementUndoUnit.cs
- AttachedPropertyMethodSelector.cs
- SpoolingTask.cs
- ByteAnimationBase.cs
- ByteStack.cs
- BufferModeSettings.cs
- BitmapEffectCollection.cs
- SafeUserTokenHandle.cs
- SerializationInfo.cs
- EastAsianLunisolarCalendar.cs
- OdbcStatementHandle.cs
- propertytag.cs
- TextTreeTextElementNode.cs
- MediaElementAutomationPeer.cs
- Win32MouseDevice.cs
- ToolStripRendererSwitcher.cs
- ClientOptions.cs
- RuleElement.cs
- FontSourceCollection.cs
- EpmContentDeSerializer.cs
- PropertiesTab.cs
- PackageDigitalSignature.cs
- SQLRoleProvider.cs
- WebPartConnectionsConnectVerb.cs
- ObsoleteAttribute.cs
- FieldReference.cs
- EditorPartCollection.cs
- HtmlTableCell.cs
- FormViewRow.cs