Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ParentControlDesigner.cs
- FlatButtonAppearance.cs
- OptimizedTemplateContentHelper.cs
- HttpResponseInternalBase.cs
- SecurityDocument.cs
- KnownTypeDataContractResolver.cs
- HostProtectionPermission.cs
- Vector3DConverter.cs
- ValidationErrorInfo.cs
- SymmetricKey.cs
- ProfileService.cs
- PixelShader.cs
- ConstructorNeedsTagAttribute.cs
- FunctionDescription.cs
- DependencyObjectPropertyDescriptor.cs
- InstanceStoreQueryResult.cs
- RecognizedPhrase.cs
- DesignerToolStripControlHost.cs
- WebPartUserCapability.cs
- CollectionContainer.cs
- EvidenceBase.cs
- Selector.cs
- PtsCache.cs
- TableAutomationPeer.cs
- SafeRightsManagementSessionHandle.cs
- Tracking.cs
- GeneralTransform3D.cs
- SecureEnvironment.cs
- XmlTextAttribute.cs
- BinarySerializer.cs
- ClientEventManager.cs
- VirtualDirectoryMappingCollection.cs
- CurrencyWrapper.cs
- Operators.cs
- Int32Converter.cs
- ObjectStorage.cs
- EntityProviderFactory.cs
- TableNameAttribute.cs
- GeneralTransformGroup.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ToolStripSeparator.cs
- RoutedEventValueSerializer.cs
- SpeechSynthesizer.cs
- NoResizeSelectionBorderGlyph.cs
- HtmlDocument.cs
- TextElement.cs
- FunctionQuery.cs
- XmlAttributeProperties.cs
- DisplayNameAttribute.cs
- IdentityNotMappedException.cs
- ProtocolsConfigurationEntry.cs
- EntityClientCacheEntry.cs
- TriggerCollection.cs
- LinkLabelLinkClickedEvent.cs
- DataGridItemEventArgs.cs
- Item.cs
- AsymmetricSignatureFormatter.cs
- QueryStringParameter.cs
- ButtonRenderer.cs
- PeerContact.cs
- DefaultBinder.cs
- DummyDataSource.cs
- TextAdaptor.cs
- PassportAuthenticationModule.cs
- SqlDataSourceStatusEventArgs.cs
- recordstate.cs
- ColorDialog.cs
- OdbcEnvironment.cs
- KerberosSecurityTokenParameters.cs
- SRGSCompiler.cs
- SafeRightsManagementEnvironmentHandle.cs
- RotateTransform3D.cs
- DiscardableAttribute.cs
- ImportContext.cs
- SystemUdpStatistics.cs
- TemplateControl.cs
- FontDriver.cs
- GraphicsState.cs
- CodeDirectionExpression.cs
- SystemTcpStatistics.cs
- GridViewAutomationPeer.cs
- UrlPath.cs
- SplayTreeNode.cs
- FrameworkElementFactoryMarkupObject.cs
- TypefaceMap.cs
- SourceInterpreter.cs
- ScriptServiceAttribute.cs
- Parameter.cs
- GridViewEditEventArgs.cs
- SafeEventHandle.cs
- BaseTemplateCodeDomTreeGenerator.cs
- KeyValuePairs.cs
- Dispatcher.cs
- HttpApplicationStateBase.cs
- ProcessThreadCollection.cs
- DES.cs
- StorageEntityContainerMapping.cs
- XmlSchemaNotation.cs
- WeakEventManager.cs
- AdditionalEntityFunctions.cs