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
- EntityConnectionStringBuilder.cs
- SqlXmlStorage.cs
- VisualTreeHelper.cs
- BaseProcessor.cs
- wgx_sdk_version.cs
- ObjectStateFormatter.cs
- RecommendedAsConfigurableAttribute.cs
- TypeInitializationException.cs
- XomlCompilerResults.cs
- ProviderException.cs
- PassportIdentity.cs
- DiagnosticsConfigurationHandler.cs
- BaseInfoTable.cs
- SQLInt16Storage.cs
- SecurityContextTokenValidationException.cs
- Mappings.cs
- ToolStripItemBehavior.cs
- ListDictionaryInternal.cs
- Int32CollectionConverter.cs
- DelegatingTypeDescriptionProvider.cs
- Closure.cs
- CaseInsensitiveHashCodeProvider.cs
- CodeStatement.cs
- _HTTPDateParse.cs
- QueryPageSettingsEventArgs.cs
- QueryAsyncResult.cs
- DataGridItemAutomationPeer.cs
- ToolStripRenderer.cs
- EntityViewGenerator.cs
- ColorKeyFrameCollection.cs
- ConnectorEditor.cs
- TdsParserStaticMethods.cs
- DataGridViewSortCompareEventArgs.cs
- TriggerCollection.cs
- HttpHandlerAction.cs
- PolyQuadraticBezierSegment.cs
- CodeAccessSecurityEngine.cs
- BuildProvider.cs
- unsafenativemethodstextservices.cs
- ListControl.cs
- AuthorizationRuleCollection.cs
- embossbitmapeffect.cs
- AssemblyHash.cs
- HelpEvent.cs
- FieldToken.cs
- PropertyChange.cs
- DataGridHelper.cs
- SectionInput.cs
- QueryableDataSourceHelper.cs
- WebPartDisplayModeCollection.cs
- SHA384Managed.cs
- KeyValueInternalCollection.cs
- DesignTimeParseData.cs
- TraceLevelStore.cs
- OleDbCommandBuilder.cs
- OletxTransactionManager.cs
- SoapAttributeOverrides.cs
- JsonWriter.cs
- XdrBuilder.cs
- TypeElement.cs
- EmptyElement.cs
- ResourceAssociationType.cs
- HtmlWindow.cs
- DelimitedListTraceListener.cs
- RuntimeConfig.cs
- XmlSerializationReader.cs
- WebPartEditorCancelVerb.cs
- SchemaNames.cs
- GridViewSortEventArgs.cs
- StatusBarAutomationPeer.cs
- WebPartDescription.cs
- RenderData.cs
- XmlUtil.cs
- Event.cs
- Focus.cs
- WebFormDesignerActionService.cs
- SizeChangedInfo.cs
- HtmlInputReset.cs
- SoapFaultCodes.cs
- ConfigurationProviderException.cs
- SplitContainerDesigner.cs
- XmlException.cs
- EdmItemCollection.OcAssemblyCache.cs
- AQNBuilder.cs
- sqlnorm.cs
- Stylesheet.cs
- XmlSchemaSimpleTypeUnion.cs
- PropertyInformation.cs
- NotImplementedException.cs
- DataPagerCommandEventArgs.cs
- LineServicesCallbacks.cs
- TrackPointCollection.cs
- UIAgentInitializationException.cs
- ResourceContainer.cs
- GroupBoxRenderer.cs
- OdbcConnectionPoolProviderInfo.cs
- EntityParameterCollection.cs
- dbenumerator.cs
- ParallelEnumerable.cs
- HttpDebugHandler.cs