Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FloaterBaseParagraph.cs
- DocumentNUp.cs
- JobCollate.cs
- InstanceDataCollectionCollection.cs
- DataBoundLiteralControl.cs
- StoreItemCollection.Loader.cs
- DispatchOperation.cs
- ModelItemImpl.cs
- MouseWheelEventArgs.cs
- SqlDataSourceView.cs
- RawStylusInputCustomDataList.cs
- ValidationSummary.cs
- PriorityRange.cs
- ExpressionBinding.cs
- FixedDocumentPaginator.cs
- ToolStripItemCollection.cs
- NotificationContext.cs
- ScalarType.cs
- StringFunctions.cs
- ComponentCodeDomSerializer.cs
- TdsValueSetter.cs
- MissingFieldException.cs
- ContentFilePart.cs
- TreeBuilderXamlTranslator.cs
- DropSource.cs
- FirstMatchCodeGroup.cs
- PackageDigitalSignature.cs
- DragStartedEventArgs.cs
- SoapExtensionTypeElement.cs
- CompositeFontParser.cs
- CookieParameter.cs
- FreezableCollection.cs
- SystemMulticastIPAddressInformation.cs
- FormattedTextSymbols.cs
- DeferrableContent.cs
- AddInDeploymentState.cs
- ComponentResourceKey.cs
- ScriptIgnoreAttribute.cs
- ControlBuilderAttribute.cs
- RelativeSource.cs
- Size3DConverter.cs
- PointAnimationClockResource.cs
- Addressing.cs
- ArraySubsetEnumerator.cs
- Scripts.cs
- DSASignatureFormatter.cs
- EventDescriptor.cs
- RemotingConfiguration.cs
- VariantWrapper.cs
- DBSqlParserColumnCollection.cs
- ModelService.cs
- PointLight.cs
- LineSegment.cs
- RSAOAEPKeyExchangeFormatter.cs
- WindowsIPAddress.cs
- PersonalizationStateInfo.cs
- SoapElementAttribute.cs
- HtmlInputRadioButton.cs
- AssertSection.cs
- Int32Collection.cs
- ProfileSettings.cs
- InputBindingCollection.cs
- DataServiceStreamResponse.cs
- StickyNoteContentControl.cs
- LoginView.cs
- ComboBox.cs
- HostingEnvironmentSection.cs
- IsolatedStorageException.cs
- AudioFormatConverter.cs
- WorkflowInstance.cs
- ZoneButton.cs
- CollectionViewGroupInternal.cs
- IsolatedStorageFileStream.cs
- InkCollectionBehavior.cs
- WebServiceAttribute.cs
- DateTimeFormatInfoScanner.cs
- ImageClickEventArgs.cs
- ContextQuery.cs
- SurrogateEncoder.cs
- SqlConnectionHelper.cs
- DataGridRowHeader.cs
- TextBlock.cs
- QilInvokeLateBound.cs
- SubMenuStyle.cs
- AssemblyNameUtility.cs
- ResourceContainer.cs
- DescendantBaseQuery.cs
- ClientRuntime.cs
- UnmanagedBitmapWrapper.cs
- DecoderBestFitFallback.cs
- DataMisalignedException.cs
- XmlValidatingReaderImpl.cs
- StateItem.cs
- TextRunProperties.cs
- CultureInfo.cs
- Instrumentation.cs
- TableLayoutCellPaintEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- OleAutBinder.cs
- IntegrationExceptionEventArgs.cs