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
- IdentityNotMappedException.cs
- PrintPageEvent.cs
- KeyMatchBuilder.cs
- BitmapEffect.cs
- ElementsClipboardData.cs
- HttpListenerContext.cs
- ExpressionBindingCollection.cs
- Roles.cs
- StoryFragments.cs
- ToolStripItemClickedEventArgs.cs
- CodeTypeReference.cs
- XmlObjectSerializerReadContextComplex.cs
- codemethodreferenceexpression.cs
- TextServicesCompartmentContext.cs
- CompModSwitches.cs
- SiteMapPath.cs
- CopyCodeAction.cs
- InternalRelationshipCollection.cs
- UnSafeCharBuffer.cs
- MatrixCamera.cs
- UIInitializationException.cs
- ToolStripHighContrastRenderer.cs
- Transform3DCollection.cs
- TdsParserSafeHandles.cs
- FunctionQuery.cs
- CompilationRelaxations.cs
- AttachedPropertyMethodSelector.cs
- FixedElement.cs
- ListViewContainer.cs
- InputBuffer.cs
- RegexMatchCollection.cs
- HtmlUtf8RawTextWriter.cs
- ContextBase.cs
- SettingsAttributeDictionary.cs
- Propagator.Evaluator.cs
- Attribute.cs
- CodeDomDesignerLoader.cs
- FormViewUpdatedEventArgs.cs
- VariableExpressionConverter.cs
- GiveFeedbackEventArgs.cs
- ElementInit.cs
- CodeTypeConstructor.cs
- PropertyManager.cs
- GradientStop.cs
- ImageKeyConverter.cs
- BamlLocalizationDictionary.cs
- ConnectionPoint.cs
- DefaultValueAttribute.cs
- XmlWrappingWriter.cs
- SafeNativeMethods.cs
- XamlFilter.cs
- TypeUsage.cs
- UniqueIdentifierService.cs
- RayHitTestParameters.cs
- CompatibleComparer.cs
- BoolExpressionVisitors.cs
- SqlMethodAttribute.cs
- ElementProxy.cs
- DescendantOverDescendantQuery.cs
- pingexception.cs
- InvalidDataException.cs
- DBDataPermissionAttribute.cs
- RijndaelManagedTransform.cs
- DesignerActionHeaderItem.cs
- Funcletizer.cs
- DataRelationCollection.cs
- CultureInfo.cs
- TypedElement.cs
- XPathCompiler.cs
- ContentPropertyAttribute.cs
- shaperfactoryquerycacheentry.cs
- HttpFileCollection.cs
- ProcessingInstructionAction.cs
- FastEncoder.cs
- FilterableAttribute.cs
- AttachedPropertyBrowsableAttribute.cs
- DBBindings.cs
- SimpleHandlerBuildProvider.cs
- HtmlTableRow.cs
- ObfuscateAssemblyAttribute.cs
- ActiveXHost.cs
- Object.cs
- FileStream.cs
- PackageProperties.cs
- SqlInfoMessageEvent.cs
- SqlComparer.cs
- StylusTip.cs
- InfiniteTimeSpanConverter.cs
- WinFormsSpinner.cs
- FileDialog_Vista_Interop.cs
- Events.cs
- XPathDocumentNavigator.cs
- Model3D.cs
- PublisherIdentityPermission.cs
- PointAnimation.cs
- Cursor.cs
- EntityContainerEmitter.cs
- SafeLibraryHandle.cs
- ZipFileInfoCollection.cs
- MasterPageBuildProvider.cs