Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DbModificationCommandTree.cs
- RSAOAEPKeyExchangeFormatter.cs
- EntityDataSourceConfigureObjectContext.cs
- TabPage.cs
- RelativeSource.cs
- X509SecurityTokenProvider.cs
- DesignerMetadata.cs
- DataGridViewLayoutData.cs
- KeyPressEvent.cs
- VisualTreeHelper.cs
- Operand.cs
- ImportContext.cs
- ProviderUtil.cs
- DesignerProperties.cs
- Camera.cs
- RuntimeConfig.cs
- XmlWrappingReader.cs
- TemplateBamlTreeBuilder.cs
- InkCanvasInnerCanvas.cs
- StaticContext.cs
- ReflectionTypeLoadException.cs
- RubberbandSelector.cs
- TextComposition.cs
- SchemaTableColumn.cs
- InternalRelationshipCollection.cs
- TargetPerspective.cs
- SynchronizedDispatch.cs
- DynamicExpression.cs
- DataGridTable.cs
- SiteMap.cs
- EventData.cs
- ArgIterator.cs
- Lease.cs
- DelegateSerializationHolder.cs
- WebPartCatalogCloseVerb.cs
- PersonalizationEntry.cs
- WMIInterop.cs
- FixedDocument.cs
- CompensatableTransactionScopeActivity.cs
- OleDbConnectionFactory.cs
- RadialGradientBrush.cs
- AncillaryOps.cs
- SchemaTypeEmitter.cs
- DebugControllerThread.cs
- ChainedAsyncResult.cs
- FormsAuthenticationConfiguration.cs
- Tuple.cs
- WorkflowInstance.cs
- RtfControls.cs
- TileBrush.cs
- HMACSHA512.cs
- activationcontext.cs
- MissingFieldException.cs
- prompt.cs
- MergeFilterQuery.cs
- TypeUtil.cs
- AsyncWaitHandle.cs
- SecurityElementBase.cs
- NamespaceInfo.cs
- TextEditorParagraphs.cs
- EmbeddedMailObjectsCollection.cs
- DataTableCollection.cs
- DataContractJsonSerializerOperationFormatter.cs
- FixedTextBuilder.cs
- CurrencyWrapper.cs
- Activity.cs
- _IPv6Address.cs
- RSAPKCS1SignatureFormatter.cs
- SQLInt32.cs
- followingquery.cs
- DialogDivider.cs
- DataBindEngine.cs
- EventEntry.cs
- ReadOnlyAttribute.cs
- Compiler.cs
- UpdatePanelControlTrigger.cs
- AnnotationObservableCollection.cs
- MachinePropertyVariants.cs
- CollectionChangeEventArgs.cs
- _FtpControlStream.cs
- ProfileBuildProvider.cs
- PerformanceCounterManager.cs
- EntityTypeEmitter.cs
- Transactions.cs
- SynthesizerStateChangedEventArgs.cs
- ProviderBase.cs
- IndexingContentUnit.cs
- SafeEventLogWriteHandle.cs
- HorizontalAlignConverter.cs
- OutputScope.cs
- StateBag.cs
- cookie.cs
- TextServicesProperty.cs
- CapabilitiesSection.cs
- wgx_commands.cs
- ValidatorUtils.cs
- ObjectQueryProvider.cs
- ProcessHostServerConfig.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlDocumentFieldSchema.cs