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
- GridViewPageEventArgs.cs
- AppModelKnownContentFactory.cs
- ProcessHostServerConfig.cs
- MessageSecurityOverHttp.cs
- AbandonedMutexException.cs
- FormViewUpdatedEventArgs.cs
- SelectionHighlightInfo.cs
- MLangCodePageEncoding.cs
- coordinatorfactory.cs
- SortDescriptionCollection.cs
- RequestResizeEvent.cs
- AuthorizationSection.cs
- PageContentAsyncResult.cs
- RightsDocument.cs
- SerializeAbsoluteContext.cs
- Errors.cs
- Control.cs
- TextEffect.cs
- EdmComplexPropertyAttribute.cs
- TraceListener.cs
- XmlCharType.cs
- Crc32Helper.cs
- VoiceSynthesis.cs
- CodeGeneratorAttribute.cs
- DesignerEventService.cs
- InstanceData.cs
- ReaderWriterLockWrapper.cs
- ComponentDispatcher.cs
- XmlAttributes.cs
- Crypto.cs
- DataKeyArray.cs
- EntityStoreSchemaFilterEntry.cs
- PageThemeCodeDomTreeGenerator.cs
- ConfigurationValidatorBase.cs
- EventManager.cs
- DbMetaDataCollectionNames.cs
- FontWeight.cs
- precedingquery.cs
- ThemeDictionaryExtension.cs
- TableAutomationPeer.cs
- MarkupCompilePass1.cs
- columnmapkeybuilder.cs
- Message.cs
- XmlDocument.cs
- objectresult_tresulttype.cs
- CustomDictionarySources.cs
- InfoCardTrace.cs
- TypeLibConverter.cs
- MessageSmuggler.cs
- ValidationHelper.cs
- OnOperation.cs
- PropertyPathWorker.cs
- BufferModesCollection.cs
- UniformGrid.cs
- ToolStripSplitButton.cs
- ToolStripLocationCancelEventArgs.cs
- TreeNode.cs
- ProviderCommandInfoUtils.cs
- IdentityNotMappedException.cs
- ContentElementAutomationPeer.cs
- Mutex.cs
- StylusPlugin.cs
- RequiredArgumentAttribute.cs
- Overlapped.cs
- UrlMappingCollection.cs
- DbQueryCommandTree.cs
- HierarchicalDataBoundControlAdapter.cs
- MimeXmlImporter.cs
- RuntimeHandles.cs
- MD5CryptoServiceProvider.cs
- ParallelTimeline.cs
- IIS7WorkerRequest.cs
- storepermissionattribute.cs
- DataControlFieldHeaderCell.cs
- Size3DValueSerializer.cs
- ManipulationInertiaStartingEventArgs.cs
- SqlDataSourceQueryEditor.cs
- BooleanFunctions.cs
- ButtonStandardAdapter.cs
- X509Chain.cs
- BooleanSwitch.cs
- SoapAttributeOverrides.cs
- OdbcConnectionString.cs
- SplashScreenNativeMethods.cs
- ContentControl.cs
- ReceiveActivityDesignerTheme.cs
- EmptyQuery.cs
- PackWebRequest.cs
- StylusCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- QuadraticBezierSegment.cs
- SafeFileMappingHandle.cs
- Thumb.cs
- UdpTransportSettingsElement.cs
- SizeChangedInfo.cs
- IUnknownConstantAttribute.cs
- securestring.cs
- BigInt.cs
- TableItemProviderWrapper.cs
- GridViewRowPresenter.cs