Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- StylusPoint.cs
- Image.cs
- TransformationRules.cs
- ImageAttributes.cs
- ResourcesBuildProvider.cs
- QueryOptionExpression.cs
- odbcmetadatacolumnnames.cs
- Hashtable.cs
- CodeNamespaceCollection.cs
- recordstate.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Documentation.cs
- ClientUtils.cs
- SQLSingleStorage.cs
- WebEvents.cs
- PropertyChangeTracker.cs
- QueryAccessibilityHelpEvent.cs
- OneWayChannelListener.cs
- ProcessModelInfo.cs
- DtdParser.cs
- XhtmlBasicImageAdapter.cs
- LayoutTableCell.cs
- SmiRequestExecutor.cs
- WindowInteropHelper.cs
- SegmentInfo.cs
- Point3DIndependentAnimationStorage.cs
- XmlSignificantWhitespace.cs
- ThreadPool.cs
- GlobalProxySelection.cs
- TextServicesManager.cs
- ClaimSet.cs
- DateTimeParse.cs
- IProducerConsumerCollection.cs
- Stroke2.cs
- EventManager.cs
- RowToFieldTransformer.cs
- WindowInteractionStateTracker.cs
- BufferedGraphicsManager.cs
- TypeValidationEventArgs.cs
- SqlDataSourceFilteringEventArgs.cs
- UnsafeCollabNativeMethods.cs
- ServicesExceptionNotHandledEventArgs.cs
- RectValueSerializer.cs
- DNS.cs
- CqlLexer.cs
- SizeAnimationClockResource.cs
- XmlSchemaCompilationSettings.cs
- InfoCardTrace.cs
- ZipArchive.cs
- HtmlSelect.cs
- StateRuntime.cs
- DataControlCommands.cs
- ServicePointManager.cs
- PrintPreviewControl.cs
- ToolStripItemDataObject.cs
- HostExecutionContextManager.cs
- RectAnimationBase.cs
- AnchorEditor.cs
- ProfessionalColorTable.cs
- PropertyGeneratedEventArgs.cs
- DetailsViewModeEventArgs.cs
- DispatcherTimer.cs
- Ops.cs
- TableLayoutSettings.cs
- SqlStatistics.cs
- HtmlGenericControl.cs
- SqlDataSourceView.cs
- PartitionedDataSource.cs
- LZCodec.cs
- CompilerState.cs
- DesignerLoader.cs
- CheckBoxStandardAdapter.cs
- TrackingRecordPreFilter.cs
- HierarchicalDataBoundControlAdapter.cs
- PerformanceCounterLib.cs
- Console.cs
- ViewPort3D.cs
- FlowDocumentPage.cs
- SecurityToken.cs
- UnsafeNativeMethodsTablet.cs
- Ports.cs
- JoinTreeSlot.cs
- ConnectionPointCookie.cs
- Boolean.cs
- ScaleTransform3D.cs
- TemplatedAdorner.cs
- FileDialog_Vista_Interop.cs
- CheckBox.cs
- XhtmlBasicPageAdapter.cs
- MinimizableAttributeTypeConverter.cs
- ContentElementAutomationPeer.cs
- Control.cs
- SoapFormatter.cs
- BypassElementCollection.cs
- SoapExtension.cs
- SystemUdpStatistics.cs
- DbProviderConfigurationHandler.cs
- Nullable.cs
- InputScopeManager.cs
- DynamicDocumentPaginator.cs