Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / XMLSyntaxException.cs / 1305376 / 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
- SystemThemeKey.cs
- cache.cs
- XmlAttribute.cs
- SafeLibraryHandle.cs
- SoapException.cs
- Stylus.cs
- DataService.cs
- Pair.cs
- NavigationProperty.cs
- PatternMatcher.cs
- EmptyControlCollection.cs
- DivideByZeroException.cs
- ColumnHeader.cs
- ReturnType.cs
- RSAOAEPKeyExchangeFormatter.cs
- TdsEnums.cs
- _ProxyChain.cs
- SizeConverter.cs
- OdbcEnvironmentHandle.cs
- HMACSHA512.cs
- XmlConvert.cs
- ScopelessEnumAttribute.cs
- IntegerCollectionEditor.cs
- TreeView.cs
- CollectionViewGroupRoot.cs
- IsolatedStorage.cs
- TypeDelegator.cs
- CodeSnippetTypeMember.cs
- PeerObject.cs
- GeneralTransform.cs
- GacUtil.cs
- ZipPackage.cs
- EditorPartDesigner.cs
- _AutoWebProxyScriptEngine.cs
- RequestContext.cs
- ListenerUnsafeNativeMethods.cs
- CompilerErrorCollection.cs
- HtmlImage.cs
- BulletedList.cs
- JsonXmlDataContract.cs
- DataGridViewDesigner.cs
- HttpConfigurationSystem.cs
- DescendantQuery.cs
- SpecularMaterial.cs
- UrlPath.cs
- Control.cs
- SmiEventSink.cs
- RSAPKCS1SignatureDeformatter.cs
- BasicCommandTreeVisitor.cs
- XmlSiteMapProvider.cs
- DeclarationUpdate.cs
- PreservationFileReader.cs
- ScrollViewerAutomationPeer.cs
- StructuredTypeEmitter.cs
- ItemsControlAutomationPeer.cs
- ViewGenResults.cs
- ServiceConfigurationTraceRecord.cs
- EqualityComparer.cs
- PersonalizablePropertyEntry.cs
- MasterPageCodeDomTreeGenerator.cs
- Model3D.cs
- WS2007HttpBinding.cs
- GlyphRunDrawing.cs
- MULTI_QI.cs
- WmlLabelAdapter.cs
- SafeRightsManagementHandle.cs
- SupportsEventValidationAttribute.cs
- ParallelTimeline.cs
- DataGridViewCellCollection.cs
- MenuTracker.cs
- Attributes.cs
- SqlVisitor.cs
- MemoryMappedViewAccessor.cs
- FunctionNode.cs
- SelectingProviderEventArgs.cs
- __Filters.cs
- EntityObject.cs
- EncoderParameters.cs
- MetadataProperty.cs
- Graphics.cs
- XmlRawWriterWrapper.cs
- WebPartActionVerb.cs
- StringConcat.cs
- GeneralTransformGroup.cs
- RelationshipSet.cs
- SqlRewriteScalarSubqueries.cs
- _UncName.cs
- TextServicesCompartmentContext.cs
- WsatServiceAddress.cs
- ClientData.cs
- IPipelineRuntime.cs
- dataobject.cs
- AuthenticationModuleElementCollection.cs
- ObjectStateEntryDbDataRecord.cs
- DeflateEmulationStream.cs
- TextInfo.cs
- COM2PropertyPageUITypeConverter.cs
- CodeAttributeDeclaration.cs
- HtmlShim.cs
- Camera.cs