Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Options.cs
- SQLDouble.cs
- SecurityValidationBehavior.cs
- TextSearch.cs
- HelloOperation11AsyncResult.cs
- EdmError.cs
- CompiledAction.cs
- NullableConverter.cs
- ForAllOperator.cs
- UIntPtr.cs
- ManagementClass.cs
- ContentPresenter.cs
- SQLChars.cs
- XmlName.cs
- MissingMemberException.cs
- SoapRpcMethodAttribute.cs
- PathSegmentCollection.cs
- CodeComment.cs
- TextServicesLoader.cs
- InProcStateClientManager.cs
- RemoteHelper.cs
- Column.cs
- IntermediatePolicyValidator.cs
- WebPartHeaderCloseVerb.cs
- MbpInfo.cs
- Page.cs
- Misc.cs
- WorkflowServiceHostFactory.cs
- EntitySetBaseCollection.cs
- FixedHighlight.cs
- WSDualHttpSecurityMode.cs
- FormViewUpdateEventArgs.cs
- SafeNativeMethods.cs
- HttpCacheVary.cs
- XmlSchemaAttribute.cs
- AutomationPatternInfo.cs
- RuleInfoComparer.cs
- SmtpNegotiateAuthenticationModule.cs
- DataSysAttribute.cs
- DbConnectionStringBuilder.cs
- ArgIterator.cs
- TypeValidationEventArgs.cs
- TextContainerChangeEventArgs.cs
- DataSourceNameHandler.cs
- HandleCollector.cs
- ImageMap.cs
- HttpApplicationFactory.cs
- CallbackValidatorAttribute.cs
- SchemaElementDecl.cs
- XsltArgumentList.cs
- MemberDescriptor.cs
- GeometryConverter.cs
- MessageDecoder.cs
- BaseTemplateBuildProvider.cs
- AutoGeneratedFieldProperties.cs
- CellNormalizer.cs
- TimeSpanConverter.cs
- RC2.cs
- Cursor.cs
- Stackframe.cs
- TCPClient.cs
- brushes.cs
- XmlQualifiedNameTest.cs
- SQLInt32Storage.cs
- HighlightComponent.cs
- XPathException.cs
- WebControl.cs
- CompatibleComparer.cs
- DrawListViewItemEventArgs.cs
- UidManager.cs
- XmlCDATASection.cs
- CheckBoxFlatAdapter.cs
- DocumentPageHost.cs
- BitmapCodecInfoInternal.cs
- ApplicationSecurityInfo.cs
- MarginCollapsingState.cs
- PathFigureCollection.cs
- SettingsPropertyValue.cs
- GradientStop.cs
- WSUtilitySpecificationVersion.cs
- StorageMappingItemCollection.cs
- AdjustableArrowCap.cs
- SearchForVirtualItemEventArgs.cs
- SqlParameterCollection.cs
- TraceData.cs
- DataGridViewComboBoxColumn.cs
- DateTimeFormat.cs
- AgileSafeNativeMemoryHandle.cs
- TextSegment.cs
- EventDescriptor.cs
- CollaborationHelperFunctions.cs
- ImageListImageEditor.cs
- SimpleMailWebEventProvider.cs
- PagesSection.cs
- StringFunctions.cs
- UIInitializationException.cs
- DefaultBindingPropertyAttribute.cs
- AdRotatorDesigner.cs
- DataKeyArray.cs
- ByteStreamGeometryContext.cs