Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DbDeleteCommandTree.cs
- ManagedWndProcTracker.cs
- GlobalDataBindingHandler.cs
- SimpleWorkerRequest.cs
- MessageQueueException.cs
- WebPartMinimizeVerb.cs
- CapabilitiesState.cs
- XmlHierarchicalDataSourceView.cs
- ListViewInsertionMark.cs
- DetailsViewDeleteEventArgs.cs
- TextBox.cs
- Int16AnimationBase.cs
- HttpContext.cs
- CheckBoxAutomationPeer.cs
- CounterSample.cs
- HtmlInputText.cs
- CodeVariableReferenceExpression.cs
- HelpProvider.cs
- ExceptQueryOperator.cs
- ListSourceHelper.cs
- DataView.cs
- DataGridViewCellStyleEditor.cs
- XpsFilter.cs
- DescendantBaseQuery.cs
- DrawingContext.cs
- GuidelineSet.cs
- InkCanvasFeedbackAdorner.cs
- Merger.cs
- SQLChars.cs
- XmlDataFileEditor.cs
- QueryOutputWriterV1.cs
- Operators.cs
- XmlElement.cs
- SaveFileDialog.cs
- WriterOutput.cs
- NamespaceDecl.cs
- UnsafeNativeMethods.cs
- StructuredTypeInfo.cs
- AnonymousIdentificationSection.cs
- EventSinkActivityDesigner.cs
- SelectionEditor.cs
- WebScriptEnablingElement.cs
- DnsEndpointIdentity.cs
- BadImageFormatException.cs
- DbConnectionStringCommon.cs
- FuncCompletionCallbackWrapper.cs
- OrderedDictionary.cs
- HtmlTextViewAdapter.cs
- ProgressBar.cs
- RestHandler.cs
- TextBlockAutomationPeer.cs
- DesignTimeVisibleAttribute.cs
- HostingEnvironmentSection.cs
- WinFormsSecurity.cs
- StreamedFramingRequestChannel.cs
- DbProviderFactoriesConfigurationHandler.cs
- ReachVisualSerializerAsync.cs
- ActiveXHost.cs
- DoubleKeyFrameCollection.cs
- PickBranch.cs
- ServerType.cs
- MembershipUser.cs
- DriveInfo.cs
- IssuanceLicense.cs
- MultiBindingExpression.cs
- GroupLabel.cs
- FormsAuthenticationEventArgs.cs
- MessageBox.cs
- TableCell.cs
- DataBinder.cs
- TypeUtil.cs
- AppLevelCompilationSectionCache.cs
- DataGridViewColumn.cs
- Subordinate.cs
- TemplateContent.cs
- SQLConvert.cs
- SHA256Managed.cs
- WebPartCollection.cs
- DBSchemaTable.cs
- CounterSample.cs
- WhitespaceRuleReader.cs
- basenumberconverter.cs
- SafeFreeMibTable.cs
- AsymmetricSignatureFormatter.cs
- COMException.cs
- RouteItem.cs
- ContainerActivationHelper.cs
- ValidationHelper.cs
- MetricEntry.cs
- DataFormat.cs
- SmtpDigestAuthenticationModule.cs
- util.cs
- XmlEntity.cs
- WebCodeGenerator.cs
- FloatUtil.cs
- XamlPoint3DCollectionSerializer.cs
- PanelStyle.cs
- ExpressionPrinter.cs
- CodeDelegateInvokeExpression.cs
- Control.cs