Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ColumnHeader.cs
- SafeRightsManagementHandle.cs
- DataGridViewRowsRemovedEventArgs.cs
- OracleParameterCollection.cs
- ParenthesizePropertyNameAttribute.cs
- RTTrackingProfile.cs
- SymDocumentType.cs
- SortDescription.cs
- EmptyEnumerator.cs
- dbenumerator.cs
- Monitor.cs
- UserControlParser.cs
- UnsafeNativeMethods.cs
- SeparatorAutomationPeer.cs
- DesignerObject.cs
- SRGSCompiler.cs
- ExeConfigurationFileMap.cs
- XamlRtfConverter.cs
- OwnerDrawPropertyBag.cs
- WebResourceAttribute.cs
- LayoutManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SoapEnumAttribute.cs
- CustomLineCap.cs
- MailAddressCollection.cs
- DynamicRenderer.cs
- FileSystemEventArgs.cs
- ProcessInputEventArgs.cs
- TypeSystemProvider.cs
- DateTime.cs
- Separator.cs
- ContentOperations.cs
- DataRowComparer.cs
- DataGridViewAccessibleObject.cs
- CatalogPartCollection.cs
- PrtTicket_Editor.cs
- XmlDataDocument.cs
- HttpCookie.cs
- RunInstallerAttribute.cs
- HttpModuleAction.cs
- WebBrowser.cs
- Contracts.cs
- ReflectTypeDescriptionProvider.cs
- TextSpanModifier.cs
- TraceContextEventArgs.cs
- PolicyException.cs
- LocalsItemDescription.cs
- AlphabeticalEnumConverter.cs
- VisualTarget.cs
- odbcmetadatacolumnnames.cs
- webclient.cs
- ModelService.cs
- MostlySingletonList.cs
- XmlEntityReference.cs
- ThemeableAttribute.cs
- PenLineCapValidation.cs
- BatchParser.cs
- PreProcessInputEventArgs.cs
- SecurityManager.cs
- X509CertificateCollection.cs
- EmptyImpersonationContext.cs
- TreeNodeStyleCollectionEditor.cs
- CroppedBitmap.cs
- WinOEToolBoxItem.cs
- LogEntryHeaderv1Deserializer.cs
- XmlObjectSerializerWriteContext.cs
- Compiler.cs
- IMembershipProvider.cs
- SqlWorkflowInstanceStore.cs
- TraceLog.cs
- TranslateTransform3D.cs
- CommandEventArgs.cs
- RemotingSurrogateSelector.cs
- IisTraceListener.cs
- NavigationExpr.cs
- ToolstripProfessionalRenderer.cs
- RijndaelManagedTransform.cs
- DelegatingTypeDescriptionProvider.cs
- ContractAdapter.cs
- HwndMouseInputProvider.cs
- DataSourceView.cs
- FactoryRecord.cs
- CollectionViewGroupRoot.cs
- DescriptionAttribute.cs
- CheckBoxFlatAdapter.cs
- ExpressionWriter.cs
- DbCommandTree.cs
- XmlSiteMapProvider.cs
- DecimalAnimationUsingKeyFrames.cs
- ColorConvertedBitmap.cs
- ScrollProviderWrapper.cs
- GridEntry.cs
- ElementHost.cs
- GenericUriParser.cs
- Preprocessor.cs
- DBCSCodePageEncoding.cs
- SlotInfo.cs
- DataGridState.cs
- NodeInfo.cs
- DataView.cs