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
- Point3DValueSerializer.cs
- AddInDeploymentState.cs
- GeometryValueSerializer.cs
- ApplicationHost.cs
- Viewport3DVisual.cs
- PassportAuthenticationEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- MimeWriter.cs
- VirtualizingPanel.cs
- BaseProcessProtocolHandler.cs
- MappingModelBuildProvider.cs
- DoWorkEventArgs.cs
- Evidence.cs
- EndpointDiscoveryElement.cs
- StorageSetMapping.cs
- DesignTimeVisibleAttribute.cs
- UserControl.cs
- IntSecurity.cs
- MyContact.cs
- WindowsAltTab.cs
- IList.cs
- VisualStateChangedEventArgs.cs
- ExpressionCopier.cs
- TableAutomationPeer.cs
- XAMLParseException.cs
- DateTimeConverter.cs
- ProviderIncompatibleException.cs
- SerialPinChanges.cs
- AsyncResult.cs
- SchemaTableOptionalColumn.cs
- OutputScopeManager.cs
- Parallel.cs
- HtmlControl.cs
- DesignerValidationSummaryAdapter.cs
- NoneExcludedImageIndexConverter.cs
- LayoutDump.cs
- ProtocolsConfigurationEntry.cs
- Parameter.cs
- ExtensionWindowHeader.cs
- CodeConstructor.cs
- XmlSchemaAnyAttribute.cs
- RSACryptoServiceProvider.cs
- NameValueCollection.cs
- EFTableProvider.cs
- OracleLob.cs
- EventSetter.cs
- Comparer.cs
- ColorAnimationUsingKeyFrames.cs
- Int64Storage.cs
- NopReturnReader.cs
- SafeTimerHandle.cs
- Graph.cs
- CheckBoxDesigner.cs
- WebBrowserContainer.cs
- RotateTransform.cs
- XMLSchema.cs
- ResXResourceWriter.cs
- wgx_commands.cs
- SurrogateSelector.cs
- LoopExpression.cs
- SqlDataReaderSmi.cs
- UriTemplateQueryValue.cs
- XmlSerializerObjectSerializer.cs
- PerformanceCounterPermissionEntryCollection.cs
- FormatConvertedBitmap.cs
- Security.cs
- ReferenceAssemblyAttribute.cs
- DataRelation.cs
- DesignerDataView.cs
- XmlUrlResolver.cs
- MenuItemCollection.cs
- GridLength.cs
- AspNetHostingPermission.cs
- xsdvalidator.cs
- ExitEventArgs.cs
- Page.cs
- ImageCodecInfoPrivate.cs
- XmlTextWriter.cs
- CollectionBuilder.cs
- CompiledQueryCacheEntry.cs
- Win32SafeHandles.cs
- DesignerAdapterUtil.cs
- BaseCollection.cs
- DataGridItemCollection.cs
- DataRowComparer.cs
- SafeNativeMethods.cs
- PackageProperties.cs
- ReferenceService.cs
- DNS.cs
- Command.cs
- DataControlFieldCollection.cs
- CodeEntryPointMethod.cs
- InsufficientMemoryException.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ApplicationManager.cs
- BinHexDecoder.cs
- BackoffTimeoutHelper.cs
- QueryReaderSettings.cs
- ConnectorDragDropGlyph.cs
- SeekStoryboard.cs