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
- ExternalCalls.cs
- RelationshipEndCollection.cs
- DataObjectEventArgs.cs
- SourceChangedEventArgs.cs
- AutomationElementCollection.cs
- CatalogPartChrome.cs
- ToolStripSettings.cs
- PackWebResponse.cs
- ExecutionEngineException.cs
- EntityClientCacheKey.cs
- XmlMapping.cs
- HMACSHA1.cs
- BackStopAuthenticationModule.cs
- SqlStream.cs
- XmlObjectSerializerReadContextComplexJson.cs
- CacheOutputQuery.cs
- SectionInformation.cs
- QilReference.cs
- BlurEffect.cs
- DetailsViewInsertEventArgs.cs
- CoTaskMemHandle.cs
- EntityTypeEmitter.cs
- Metafile.cs
- OpCellTreeNode.cs
- DragEvent.cs
- TokenBasedSet.cs
- LiteralDesigner.cs
- XmlTextEncoder.cs
- ObjectQuery_EntitySqlExtensions.cs
- DataServiceRequest.cs
- XmlBoundElement.cs
- RequestChannel.cs
- Int32Rect.cs
- OracleInternalConnection.cs
- XmlDictionaryString.cs
- Speller.cs
- EnumDataContract.cs
- SingleKeyFrameCollection.cs
- PassportAuthenticationEventArgs.cs
- DataListItem.cs
- StylusPointProperty.cs
- HttpApplicationStateBase.cs
- CancelRequestedRecord.cs
- MailWebEventProvider.cs
- PersonalizationEntry.cs
- figurelengthconverter.cs
- HeaderedContentControl.cs
- IUnknownConstantAttribute.cs
- TranslateTransform3D.cs
- ListView.cs
- EntityDataSourceDataSelection.cs
- CompositeControl.cs
- BindingWorker.cs
- configsystem.cs
- AesCryptoServiceProvider.cs
- TimeSpanMinutesConverter.cs
- XhtmlBasicPhoneCallAdapter.cs
- MailHeaderInfo.cs
- TypeConverterBase.cs
- SectionXmlInfo.cs
- EventlogProvider.cs
- Configuration.cs
- SqlServer2KCompatibilityCheck.cs
- QilFactory.cs
- XmlnsDictionary.cs
- ApplicationActivator.cs
- ObjectSelectorEditor.cs
- SoapHeader.cs
- NavigationWindowAutomationPeer.cs
- CornerRadiusConverter.cs
- HttpContext.cs
- LinearQuaternionKeyFrame.cs
- MailWriter.cs
- WebPartRestoreVerb.cs
- PublisherIdentityPermission.cs
- CharacterShapingProperties.cs
- ContainerControl.cs
- LookupNode.cs
- PolicyFactory.cs
- ControlCodeDomSerializer.cs
- SrgsElementFactoryCompiler.cs
- sitestring.cs
- WindowsPrincipal.cs
- Crypto.cs
- TreeNodeStyle.cs
- TreeBuilder.cs
- WebUtil.cs
- StreamReader.cs
- Schema.cs
- ListViewItem.cs
- StubHelpers.cs
- MenuItem.cs
- BufferBuilder.cs
- DockPatternIdentifiers.cs
- CommunicationException.cs
- MetadataCollection.cs
- ClaimComparer.cs
- ContextStack.cs
- XsdCachingReader.cs
- TransactionFormatter.cs