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
- AVElementHelper.cs
- WebEventTraceProvider.cs
- DataReaderContainer.cs
- LocalizationParserHooks.cs
- DictionarySectionHandler.cs
- X509ClientCertificateAuthenticationElement.cs
- ProfileModule.cs
- DataGridViewCellStyleBuilderDialog.cs
- WindowsGraphicsCacheManager.cs
- DataServiceHostFactory.cs
- BinHexEncoding.cs
- EnvelopedSignatureTransform.cs
- DmlSqlGenerator.cs
- CodeBlockBuilder.cs
- AsyncResult.cs
- ToolStripSplitButton.cs
- TextRangeEditTables.cs
- KeyToListMap.cs
- Viewport3DVisual.cs
- Transform.cs
- AlignmentXValidation.cs
- IdnMapping.cs
- DataGridColumn.cs
- CodeRegionDirective.cs
- TreeBuilder.cs
- Fx.cs
- RecognizerBase.cs
- OracleConnectionStringBuilder.cs
- SQLConvert.cs
- DataRowComparer.cs
- HMACRIPEMD160.cs
- StylusOverProperty.cs
- InspectionWorker.cs
- SessionStateContainer.cs
- TextEditorParagraphs.cs
- DetailsViewCommandEventArgs.cs
- Localizer.cs
- ColorIndependentAnimationStorage.cs
- PageParserFilter.cs
- ToolStripTextBox.cs
- TypeSystem.cs
- VectorAnimationUsingKeyFrames.cs
- ParameterCollection.cs
- QuaternionKeyFrameCollection.cs
- ContentDesigner.cs
- Metafile.cs
- Wildcard.cs
- ArraySubsetEnumerator.cs
- UnknownBitmapEncoder.cs
- ResXResourceWriter.cs
- WCFModelStrings.Designer.cs
- AnnotationHelper.cs
- FlowDocumentPaginator.cs
- PageSettings.cs
- SingleBodyParameterMessageFormatter.cs
- DefaultTraceListener.cs
- TimeSpan.cs
- EntityDataSourceUtil.cs
- OletxTransactionHeader.cs
- BinaryQueryOperator.cs
- ExpressionNode.cs
- SecurityContextSecurityTokenParameters.cs
- TypeConverterHelper.cs
- StatusBarItem.cs
- DataControlLinkButton.cs
- Journal.cs
- CommonProperties.cs
- GeneralTransform2DTo3D.cs
- FormsAuthenticationTicket.cs
- Compilation.cs
- ScrollBar.cs
- dbenumerator.cs
- GiveFeedbackEvent.cs
- ImageMapEventArgs.cs
- OdbcCommandBuilder.cs
- CommonRemoteMemoryBlock.cs
- RemotingConfiguration.cs
- MetabaseServerConfig.cs
- HtmlCalendarAdapter.cs
- AnchoredBlock.cs
- Types.cs
- LayoutManager.cs
- CompositeActivityTypeDescriptorProvider.cs
- MinimizableAttributeTypeConverter.cs
- SqlCommandSet.cs
- SiteMembershipCondition.cs
- WebPartEventArgs.cs
- TransformerConfigurationWizardBase.cs
- HttpProfileGroupBase.cs
- WebServiceBindingAttribute.cs
- SystemResourceHost.cs
- FontResourceCache.cs
- WebPartDisplayModeEventArgs.cs
- CompositeScriptReference.cs
- RightsManagementEncryptedStream.cs
- BuildDependencySet.cs
- DataViewSettingCollection.cs
- StorageMappingFragment.cs
- StylusButton.cs
- DBConnectionString.cs