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
- ResourceDefaultValueAttribute.cs
- ManualWorkflowSchedulerService.cs
- ApplicationSecurityInfo.cs
- FlowLayoutPanel.cs
- MenuItemStyleCollection.cs
- CategoryGridEntry.cs
- StylusPointProperties.cs
- RequestCacheEntry.cs
- FontFaceLayoutInfo.cs
- ToolBarPanel.cs
- KeyValueConfigurationElement.cs
- ErrorWebPart.cs
- HttpGetProtocolImporter.cs
- EmbeddedMailObject.cs
- VectorValueSerializer.cs
- CodeDelegateCreateExpression.cs
- FormViewInsertedEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- keycontainerpermission.cs
- ScaleTransform.cs
- Win32.cs
- ImpersonateTokenRef.cs
- cookie.cs
- TemplateInstanceAttribute.cs
- SapiAttributeParser.cs
- WmfPlaceableFileHeader.cs
- SqlRewriteScalarSubqueries.cs
- ShaderEffect.cs
- LicenseProviderAttribute.cs
- ObjRef.cs
- XmlMemberMapping.cs
- MouseCaptureWithinProperty.cs
- StylusPointProperties.cs
- ExpressionBuilder.cs
- FontWeightConverter.cs
- Renderer.cs
- ElementProxy.cs
- _StreamFramer.cs
- ListItemsPage.cs
- CompiledQuery.cs
- TextContainerHelper.cs
- EventRouteFactory.cs
- ProfileBuildProvider.cs
- JpegBitmapEncoder.cs
- ForwardPositionQuery.cs
- InternalEnumValidator.cs
- ReferenceEqualityComparer.cs
- GenericAuthenticationEventArgs.cs
- TimeManager.cs
- WebBaseEventKeyComparer.cs
- ExternalDataExchangeService.cs
- DocumentApplicationJournalEntry.cs
- CssClassPropertyAttribute.cs
- fixedPageContentExtractor.cs
- ClientSettingsSection.cs
- SHA1.cs
- ApplicationSecurityManager.cs
- StdRegProviderWrapper.cs
- DisplayInformation.cs
- Int32.cs
- SoapCommonClasses.cs
- DashStyles.cs
- AuthenticationModuleElement.cs
- FilterElement.cs
- TimeSpanParse.cs
- ActivityTypeDesigner.xaml.cs
- SqlBuilder.cs
- FlowLayoutPanel.cs
- CodeGeneratorOptions.cs
- ContentFilePart.cs
- SqlBuffer.cs
- ImageButton.cs
- FontStretchConverter.cs
- SqlInternalConnectionTds.cs
- GlobalProxySelection.cs
- LogWriteRestartAreaState.cs
- HtmlSelect.cs
- DateTimeOffset.cs
- XamlPoint3DCollectionSerializer.cs
- RtfToken.cs
- UnsafeNativeMethods.cs
- storepermissionattribute.cs
- LinearGradientBrush.cs
- SmtpReplyReaderFactory.cs
- _Rfc2616CacheValidators.cs
- HybridDictionary.cs
- ServiceHost.cs
- NodeLabelEditEvent.cs
- WpfWebRequestHelper.cs
- CompModHelpers.cs
- FontSource.cs
- XmlSchemaInclude.cs
- GridViewRowEventArgs.cs
- GiveFeedbackEventArgs.cs
- ConstraintCollection.cs
- ViewPort3D.cs
- HtmlEncodedRawTextWriter.cs
- WebRequestModuleElementCollection.cs
- SoapFormatExtensions.cs
- TailPinnedEventArgs.cs