Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AffineTransform3D.cs
- BindingEntityInfo.cs
- GlyphRunDrawing.cs
- PrintPreviewControl.cs
- AuthenticateEventArgs.cs
- NullEntityWrapper.cs
- BitVector32.cs
- MemoryMappedViewAccessor.cs
- MILUtilities.cs
- Cloud.cs
- KeyMatchBuilder.cs
- LayoutEngine.cs
- JavaScriptSerializer.cs
- DesignerVerb.cs
- NamespaceDecl.cs
- __Filters.cs
- ListViewSelectEventArgs.cs
- AppearanceEditorPart.cs
- GridViewSelectEventArgs.cs
- StorageEntityContainerMapping.cs
- AlignmentYValidation.cs
- ClosableStream.cs
- TriggerBase.cs
- CommentEmitter.cs
- TrustSection.cs
- DataGridViewRowPrePaintEventArgs.cs
- DocumentSequenceHighlightLayer.cs
- SafeProcessHandle.cs
- ComPlusAuthorization.cs
- TextBox.cs
- HttpHandlerActionCollection.cs
- VerificationAttribute.cs
- FrameworkElement.cs
- ImpersonationContext.cs
- ExpressionNode.cs
- MarkedHighlightComponent.cs
- SmiRecordBuffer.cs
- RenderCapability.cs
- MachineKeySection.cs
- SQlBooleanStorage.cs
- FilteredDataSetHelper.cs
- XmlDataLoader.cs
- ColumnWidthChangingEvent.cs
- ToolBarOverflowPanel.cs
- x509store.cs
- PaperSource.cs
- NodeInfo.cs
- RolePrincipal.cs
- HashLookup.cs
- AsyncDataRequest.cs
- UTF8Encoding.cs
- _Win32.cs
- BooleanAnimationUsingKeyFrames.cs
- EdmError.cs
- HttpListenerRequestUriBuilder.cs
- Utils.cs
- DataGridViewComponentPropertyGridSite.cs
- OutputChannelBinder.cs
- AmbientEnvironment.cs
- InvalidProgramException.cs
- FormDocumentDesigner.cs
- ProxyManager.cs
- Win32.cs
- OleDbMetaDataFactory.cs
- SchemaImporter.cs
- ScriptControl.cs
- Range.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DesignTimeTemplateParser.cs
- Tuple.cs
- MembershipPasswordException.cs
- GroupLabel.cs
- ParameterToken.cs
- HtmlMobileTextWriter.cs
- ChangeConflicts.cs
- ConfigXmlCDataSection.cs
- RequestNavigateEventArgs.cs
- FixedTextContainer.cs
- WebPermission.cs
- _DomainName.cs
- BufferedReadStream.cs
- LogStore.cs
- TransformedBitmap.cs
- ContentElementAutomationPeer.cs
- xsdvalidator.cs
- glyphs.cs
- ADMembershipProvider.cs
- XmlSchemaSet.cs
- GZipStream.cs
- ClaimTypeElement.cs
- UIntPtr.cs
- TextPattern.cs
- Table.cs
- PrinterSettings.cs
- _SpnDictionary.cs
- infer.cs
- DrawingGroup.cs
- FileLoadException.cs
- ColorTransform.cs
- MetadataItem.cs