Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / XMLSyntaxException.cs / 1305376 / 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
- EventBookmark.cs
- RotateTransform.cs
- CompModSwitches.cs
- CaseStatementProjectedSlot.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ProtectedConfiguration.cs
- documentsequencetextpointer.cs
- DataGridItemEventArgs.cs
- PathParser.cs
- SystemIPInterfaceProperties.cs
- QueryOpeningEnumerator.cs
- ExtensionQuery.cs
- SynchronizedInputAdaptor.cs
- XmlSchemaParticle.cs
- CharacterBuffer.cs
- Oci.cs
- DetailsView.cs
- ToolStripSplitStackLayout.cs
- QilName.cs
- SmtpException.cs
- EntityDataSourceMemberPath.cs
- ApplicationBuildProvider.cs
- TypographyProperties.cs
- IconHelper.cs
- MessagePropertyDescription.cs
- MenuItemStyleCollection.cs
- FormsAuthenticationUser.cs
- WmpBitmapDecoder.cs
- isolationinterop.cs
- StrongNameUtility.cs
- ListItemParagraph.cs
- CatalogZoneDesigner.cs
- AssertFilter.cs
- SerializationSectionGroup.cs
- RectangleGeometry.cs
- LinkedResourceCollection.cs
- AssociationEndMember.cs
- WindowsEditBoxRange.cs
- Utils.cs
- ISAPIRuntime.cs
- System.Data.OracleClient_BID.cs
- DecoratedNameAttribute.cs
- GeometryDrawing.cs
- VBCodeProvider.cs
- BreadCrumbTextConverter.cs
- CallbackValidatorAttribute.cs
- CodeObject.cs
- PreProcessInputEventArgs.cs
- ObjectItemCollection.cs
- PropertyOverridesTypeEditor.cs
- AccessibleObject.cs
- CursorConverter.cs
- EventSourceCreationData.cs
- X509ChainPolicy.cs
- ClassData.cs
- CachedFontFace.cs
- EntitySetBaseCollection.cs
- HistoryEventArgs.cs
- CollectionsUtil.cs
- ConfigXmlReader.cs
- PrintDocument.cs
- MarkupWriter.cs
- LinkUtilities.cs
- Column.cs
- ToolTipService.cs
- __ConsoleStream.cs
- ObjectTag.cs
- CommandLineParser.cs
- StrokeCollection.cs
- FieldDescriptor.cs
- ExpressionBinding.cs
- DataGridViewCellParsingEventArgs.cs
- CorrelationActionMessageFilter.cs
- Graph.cs
- HtmlTableCellCollection.cs
- DataObjectAttribute.cs
- RelatedPropertyManager.cs
- UnmanagedMemoryStreamWrapper.cs
- BrowserDefinitionCollection.cs
- Root.cs
- DataGridViewImageCell.cs
- CatalogZone.cs
- FileSystemEventArgs.cs
- SynchronizationContext.cs
- EventData.cs
- FloatMinMaxAggregationOperator.cs
- RoleGroup.cs
- Transaction.cs
- EdmFunctionAttribute.cs
- ConfigurationPropertyCollection.cs
- BlurBitmapEffect.cs
- ImpersonationContext.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ClientBuildManagerCallback.cs
- EdmSchemaError.cs
- PermissionRequestEvidence.cs
- EntityParameter.cs
- UrlMappingsModule.cs
- NetMsmqSecurityMode.cs
- DescendentsWalker.cs