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
- KerberosSecurityTokenAuthenticator.cs
- PointCollectionConverter.cs
- cryptoapiTransform.cs
- _UncName.cs
- _HelperAsyncResults.cs
- ParserOptions.cs
- Suspend.cs
- CodeNamespaceImport.cs
- ResourceReferenceKeyNotFoundException.cs
- DynamicActivityTypeDescriptor.cs
- WebPartConnectionsConnectVerb.cs
- AdornerPresentationContext.cs
- ParsedAttributeCollection.cs
- DataReceivedEventArgs.cs
- TCPClient.cs
- IisTraceWebEventProvider.cs
- CodeVariableDeclarationStatement.cs
- ConnectionsZone.cs
- NameTable.cs
- DataPagerFieldCollection.cs
- KeyValueConfigurationCollection.cs
- FragmentQuery.cs
- ProtectedProviderSettings.cs
- StateManagedCollection.cs
- ManifestBasedResourceGroveler.cs
- TiffBitmapEncoder.cs
- MimeBasePart.cs
- StateFinalizationDesigner.cs
- PreviewPageInfo.cs
- MailWebEventProvider.cs
- Root.cs
- ValidatorCompatibilityHelper.cs
- BaseComponentEditor.cs
- UxThemeWrapper.cs
- GenerateScriptTypeAttribute.cs
- Literal.cs
- InstanceOwnerQueryResult.cs
- DataGridViewButtonColumn.cs
- OneOfScalarConst.cs
- SqlCacheDependencySection.cs
- OdbcEnvironmentHandle.cs
- ColumnResizeUndoUnit.cs
- ParallelEnumerable.cs
- FileRecordSequenceCompletedAsyncResult.cs
- XmlNamedNodeMap.cs
- RenderDataDrawingContext.cs
- WebPartConnectionsEventArgs.cs
- Attributes.cs
- RefreshPropertiesAttribute.cs
- TokenizerHelper.cs
- SubstitutionList.cs
- NetPeerTcpBinding.cs
- FileLogRecordStream.cs
- ManifestSignedXml.cs
- ScalarType.cs
- Timer.cs
- ModelPropertyDescriptor.cs
- ValidateNames.cs
- LocalizabilityAttribute.cs
- CodeStatement.cs
- MenuItemBinding.cs
- CatalogPart.cs
- CompilationSection.cs
- StateMachineAction.cs
- XmlDictionaryReader.cs
- Itemizer.cs
- DesignerRegion.cs
- DesignerUtility.cs
- SqlAggregateChecker.cs
- TitleStyle.cs
- CodeTypeReference.cs
- FeatureSupport.cs
- DataBinder.cs
- Triplet.cs
- IsolatedStorageException.cs
- StreamHelper.cs
- StdValidatorsAndConverters.cs
- PathGradientBrush.cs
- MetadataExchangeClient.cs
- XMLUtil.cs
- TileBrush.cs
- KoreanLunisolarCalendar.cs
- ObjectView.cs
- FixedTextBuilder.cs
- TemplateGroupCollection.cs
- SQLMoneyStorage.cs
- MessageQueueCriteria.cs
- HtmlImage.cs
- FormViewUpdateEventArgs.cs
- InputQueueChannelAcceptor.cs
- ContractsBCL.cs
- WebConfigurationHostFileChange.cs
- LoopExpression.cs
- WindowsSpinner.cs
- EndpointAddressAugust2004.cs
- XmlSchemaType.cs
- DynamicValueConverter.cs
- FreeFormPanel.cs
- ImageUrlEditor.cs
- MethodBuilder.cs